Creates an instance of PanelInstance.
PanelInstance
Readonly $iThe instance of RampMap API scoped to a single Vue R4MP application.
APIScope
Readonly alertWhether the panel expands to fill empty space.
PanelInstance
Readonly idID of this panel.
PanelInstance
Private Readonly loadedA list of screen component ids which are loaded and ready to be rendered.
PanelInstance
Specifies which panel screen to display and optional props to be passed to the screen panel component.
PanelConfig
Readonly screensA collection of panel screens to be displayed inside the panel.
PanelInstance
The style object applied to the panel.
PanelInstance
The instance of Vue R4MP application controlled by this InstanceAPI.
This is just a shorthand for this.$iApi.$vApp.
APIScope
Checks if this panel is the leftmost visible panel.
PanelInstance
Checks if the panel is open or not.
PanelInstance
Checks if this panel is pinned or not.
PanelInstance
Checks if this panel is the rightmost visible panel.
PanelInstance
true iff the panel is currently visible
PanelInstance
Returns the width of the panel in pixels or undefined if not set.
PanelInstance
Close this panel.
This is a proxy to InstanceAPI.panel.close(...).
PanelInstance
Expands/collapses/toggles the expand state of the panel. Panels set to expand fill empty space.
This is a proxy to InstanceAPI.panel.expand(...).
PanelInstance
Optional expand: booleanOptional. Whether the panel should expand. Toggles if no value is given.
Minimize this panel.
This is a proxy to InstanceAPI.panel.minimize(...).
PanelInstance
Move this panel left or right in the stack.
This is a proxy to InstanceAPI.panel.move(...).
PanelInstance
Opens a registered panel in the panel stack.
This is a proxy to InstanceAPI.panel.open(...).
somePanel.open() -- opens the panel on the first screen in the setsomePanel.open('screen-id') -- opens the panel on the 'screen-id' screensomePanel.open({ screen: 'screen-id', props: {... } }) -- opens the panel on the 'screen-id' screen passing supplied props to itPanelInstance
Optional value: string | { a screen id, or an object of the form { screen: <id>, props: <object> }.
Pin/unpin/toggle (if no value provided) pin status of this panel. When pinning, automatically unpins any previous pinned panel if exists.
This is a proxy to InstanceAPI.panel.pin(...).
PanelInstance
Optional value: booleanLoads and register panel screen components. This function should be called just before the screen is to be shown; this will avoid needlessly loading components upfront (sometimes certain screens might not get used at all).
PanelInstance
Remove this panel.
This is a proxy to InstanceAPI.panel.remove(...).
PanelInstance
Sets the styles of the specified panel by using a provided CSS styles object.
This is a proxy to InstanceAPI.panel.setStyles(...).
PanelInstance
Optional replace: boolean = falseSets route to the specified screen id and pass props to the panel screen components.
This is a proxy to InstanceAPI.panel.route(...).
PanelInstance
Toggle panel.
This is a proxy to InstanceAPI.panel.toggle(...).
PanelInstance
Optional value: boolean | { Toggle panel's minimize state.
This is a proxy to InstanceAPI.panel.toggleMinimize(...).
PanelInstance
Optional value: boolean | { Generated using TypeDoc
A base class for anything requiring access to the InstanceApi and instance of Vue app controlled by it.
Export