Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IToolbarControl

Base Type for a toolbar control that can be added to an IToolbar

Hierarchy

Index

Properties

class

class: string
property

{string} class class to bind to for the css style

disabled

disabled: boolean
property

{boolean} disabled disabled status for the toolbar control

id

id: string
property

{string} class class to bind to for the css style

isControlCollection

isControlCollection: boolean
property

{boolean} isControlCollection whether control is for control collection

isFlexible

isFlexible: boolean
property

{boolean} isFlexible whether the control should be allowed to grow and shrink in the toolbar

isHidden

isHidden: boolean
property

{boolean} isHidden hide/show the toolbar control

order

order: number
property

{number} order Order in which to place the component within a toolbar slot

Optional permissionCheck

permissionCheck: IPermissionCheckRequest
property

{IPermissionCheckRequest} permissionCheck used by the toolbar control

scrollDimensions

scrollDimensions: object
property

{{x: number, y: number}} scrollDimensions Dimensions of the element as rendered on the toolbar.

Type declaration

  • x: number
  • y: number

title

title: string
property

{string} title title/name for the toolbar control

viewModelPath

viewModelPath: string
readonly

@property {string} viewModelPath path to viewer model for the toolbar control

Methods

disable

  • disable(): void
  • Disables the toolbar control. This will also gets called when toolbar containing the control gets disabled. Note: If the control needs to do additional sync/async taks (e.x checking on user permission), create override method for disable.

    Returns void

enable

  • enable(): void
  • Enables the toolbar control. This will also gets called when toolbar containing the control gets enabled. Note: If the control needs to do additional sync/async taks (e.x checking on user permission), create override method for enable.

    Returns void

hide

  • hide(): void
  • Hides the toolbar control.

    Returns void

show

  • show(): void
  • Shows the toolbar control.

    Returns void