Options
All
  • Public
  • Public/Protected
  • All
Menu
property

{String} url - url starting with http:// or https://; or local file on display-worker starting with file://

property

{String} left - left position in pixels or em

property

{String} top - top position in pixels or em

property

{String} width - width in pixels or em

property

{String} height - height in pixels or em

property

{boolean} uiDraggable - sets if the viewObject is draggable using a pointing device

property

{boolean} uiClosable - sets if the viewObject is closable using a pointing device

property

{Object} [position] - Specifies position in grid mode. ignores left and top if specified

property

{Number} [position.gridLeft] - column position

property

{Number} [position.gridTop] - row position

property

{Object} [slide] - Specifies sliding content in grid mode. Requires position object

property

{String} [direction] - values : 'left', 'right', 'down', 'up'

property

{boolean} [nodeIntegration] - specifies if the guest page needs to use Electron resources

property

{Object} [deviceEmulation] - Specifies device emulation parameters. ( For all parameter options refer http://electron.atom.io/docs/api/web-contents/#contentsenabledeviceemulationparameters)

property

{Number} deviceEmulation.scale - Scale of emulated view inside available space (not in fit to view mode) (default: 1)

property

{Object} deviceEmulation.offset - Offset of the emulated view inside available space (not in fit to view mode) (default: {x: 0, y: 0})

property

{Number} deviceEmulation.offset.x - Set the x axis offset from top left corner

property

{Number} deviceEmulation.offset.y - Set the y axis offset from top left corner

property

{boolean} deviceEmulation.fitToView - Whether emulated view should be scaled down if necessary to fit into available space (default: false)

property

{Object} [videoOptions] - Specifies video options for url specified with local file:/// and extension .mp4.

property

{String} [videoOptions.group] - Specify group name of video view objects that should maintain synchronicity

property

{String} [videoOptions.groupSize] - Specify the number of video view objects that should maintain synchronicity

property

{boolean} [videoOptions.controls] - Specify video UI controls be present. (default: true)

property

{boolean} [videoOptions.content] - Specify content should play (true) or paused (false) (default: true)

property

{boolean} [videoOptions.muted] - Specify whether sound is muted or not (default: false)

property

{Number} [videoOptions.currentTime] - Specify the video play position in seconds(default 0.0)

property

{Number} [videoOptions.volume] - Specify the current volume from (0.0 - muted) to (1.0 - full volume) (default: 1.0)

property

{Number} [videoOptions.preload] - Specify the current video preload ('auto' | 'metadata' | 'none') (default: 'auto')

Hierarchy

Index

Properties

windowName: string
displayName: string
x?: number
y?: number
width?: number
height?: number
contentGrid?: ContentGrid

Generated using TypeDoc