Skip to main content

BaseController

Implemented by

Index

Properties

_canClose

_canClose: boolean

autoresize

autoresize: boolean

classList

classList: string[]

closable

closable: boolean

containers

containers: { contentView?: HTMLElement; contentWrap?: HTMLElement; contentWrap2?: HTMLElement; main?: HTMLElement; parent: HTMLElement; sizer?: HTMLElement; toolbar?: HTMLElement; view?: HTMLElement }

Type declaration

  • optionalcontentView?: HTMLElement
  • optionalcontentWrap?: HTMLElement
  • optionalcontentWrap2?: HTMLElement
  • optionalmain?: HTMLElement
  • parent: HTMLElement
  • optionalsizer?: HTMLElement
  • optionaltoolbar?: HTMLElement
  • optionalview?: HTMLElement

destroyed

destroyed: boolean

eventOptions

eventOptions: { afterClose: BaseEventHandler<{ controller: BaseController }>; afterLoad: BaseEventHandler<{ controller: BaseController }>; afterRedraw: BaseEventHandler<{ controller: BaseController }>; afterShow: BaseEventHandler<{ controller: BaseController }>; afterUnload: BaseEventHandler<{ controller: BaseController }>; beforeClose: BaseEventHandler<{ controller: BaseController }>; beforeLoad: BaseEventHandler<{ controller: BaseController }>; beforeRedraw: BaseEventHandler<{ controller: BaseController }>; beforeShow: BaseEventHandler<{ controller: BaseController }>; resize: BaseEventHandler<{ controller: BaseController }> } & {}

events

events: Events

fullscreen

fullscreen: { lg: boolean; md: boolean; sm: boolean }

Type declaration

  • lg: boolean
  • md: boolean
  • sm: boolean

loaded

loaded: boolean

map

middlewareOptions

middlewareOptions: Middleware[]

middlewares

middlewares: MiddlewareList

mobileCloseBtn

mobileCloseBtn: HTMLElement

name

name: string

opened

opened: boolean

options

options: unknown

optionalparent

optionalposition

position?: absolute | relative | fixed

resizeSensor

resizeSensor: ResizeSensor

scrollable

scrollable: boolean

state

state: {}

Type declaration

  • [key string]: any

styles

styles: Partial<CSSStyleDeclaration>

template

template: string

templates

templates: { main: HandlebarsTemplateDelegate<any>; toolbar: HandlebarsTemplateDelegate<any> }

Type declaration

  • main: HandlebarsTemplateDelegate<any>
  • toolbar: HandlebarsTemplateDelegate<any>

uid

uid: number

withToolbar

withToolbar: boolean