Skip to main content
Version: 4.1.0

WidgetConfig

Implements

  • DefaultWidgetConfig

Index

Constructors

constructor

  • new WidgetConfig(id: string, defaultConfig: DefaultWidgetConfig): WidgetConfig
  • Parameters

    • id: string
    • defaultConfig: DefaultWidgetConfig

    Returns WidgetConfig

Properties

optionalcomponentId

componentId?: string

defaultHeight

defaultHeight: number

defaultWidth

defaultWidth: number

optionaldefaultX

defaultX?: number

optionaldefaultY

defaultY?: number

optionalhelpType

helpType?: HelpType | HelpType[]

id

id: string

readonlyisCloseable

isCloseable: boolean

readonlyminHeight

minHeight: number

readonlyminWidth

minWidth: number

optionalparentId

parentId?: string

optionalparentType

parentType?: string

title

title: string

readonlytype

type: string

optionalzIndex

zIndex?: number = 0

Methods

setDefaultPosition

  • setDefaultPosition(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

setDefaultSize

  • setDefaultSize(w: number, h: number): void
  • Parameters

    • w: number
    • h: number

    Returns void