Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BrowserCreateWindowRequest

Request for creating a browser window.

Hierarchy

  • Omit<OpenFin.PlatformWindowCreationOptions, "workspacePlatform">
    • BrowserCreateWindowRequest

Index

Properties

accelerator?: Partial<Accelerator>
alphaMask?: RGB
alwaysOnTop?: boolean
api?: Api
applicationIcon?: string
aspectRatio?: number
autoShow?: boolean
backgroundColor?: string
closeOnLastViewRemoved?: boolean
contentCreation?: ContentCreationOptions
contentNavigation?: ContentNavigation
contentRedirect?: Partial<ContentRedirect>
contextMenu?: boolean
contextMenuSettings?: ContextMenuSettings
cornerRounding?: Partial<CornerRounding>
customContext?: any
customData?: any
customRequestHeaders?: CustomRequestHeaders[]
defaultCentered?: boolean
defaultHeight?: number
defaultLeft?: number
defaultTop?: number
defaultWidth?: number
experimental?: any
fdc3InteropApi?: string
frame?: boolean
height?: number
hideOnClose?: boolean
hotkeys?: Hotkey[]
icon?: string
includeInSnapshots?: boolean
interop?: InteropConfig
layout?: any
maxHeight?: number
maxWidth?: number
maximizable?: boolean
minHeight?: number
minWidth?: number
minimizable?: boolean
modalParentIdentity?: Identity
name?: string
opacity?: number
preloadScripts?: PreloadScript[]
processAffinity?: string
reason?: WindowCreationReason
resizable?: boolean
resizeRegion?: ResizeRegion
saveWindowState?: boolean
shadow?: boolean
showBackgroundImages?: boolean
showTaskbarIcon?: boolean
smallWindow?: boolean
state?: "maximized" | "minimized" | "normal"
taskbarIcon?: string
taskbarIconGroup?: string
updateStateIfExists?: boolean
url?: string
uuid?: string
waitForPageLoad?: boolean
width?: number
workspacePlatform: { disableMultiplePages?: boolean; favicon?: string; isLocked?: boolean; newPageUrl?: string; newTabUrl?: string; pages: Page[]; preventPageClose?: boolean; preventPageDrag?: boolean; preventPageDragIn?: boolean; preventPageDragOut?: boolean; title?: string; toolbarOptions?: ToolbarOptions; windowStateButtonOptions?: WindowStateButtonOptions }

WorkspacePlatform specific window options. These options will not work unless a workspace platform has been initialized.

Type declaration

  • Optional disableMultiplePages?: boolean

    Remove the Page UI and only allow a single page in the browser window. Must be set to true for this behavior. If this is not set to false, then an empty pages option will be populated with a single page.

  • Optional favicon?: string

    The favicon to display on the top left of the created browser window.

  • Optional isLocked?: boolean

    When true, disables the ability to close pages, drag pages within the window, and drag pages into/out of the window. False by default.

  • Optional newPageUrl?: string

    Landing page that shows up when you add a new page from the plus button that exists in the window frame where the page selector is shown. If you do not provide a newPageUrl, then the new Page plus button will not be shown and you cannot create a new empty Page or Window.

  • Optional newTabUrl?: string

    Landing page that shows up when you add a new tab from the plus button that exists in the tabstrip. If you do not provide a newTabUrl, then the plus button in the tabstrip will not be shown and users cannot create a new empty tab.

  • pages: Page[]

    The initial set of pages to add to the created browser window.

  • Optional preventPageClose?: boolean

    When true, disables the ability to close pages in the window. False by default.

  • Optional preventPageDrag?: boolean

    When true, page tabs in the window will not be draggable. This includes reordering pages and dragging them out of the window. False by default.

  • Optional preventPageDragIn?: boolean

    When true, disables the ability to drag pages into the window. False by default.

  • Optional preventPageDragOut?: boolean

    When true, disables the ability to drag pages out of a window. False by default.

  • Optional title?: string

    A UI friendly title for the created browser window.

  • Optional toolbarOptions?: ToolbarOptions
  • Optional windowStateButtonOptions?: WindowStateButtonOptions
x?: number
y?: number

Generated using TypeDoc