Properties
$element
$element: HTMLDivElement
$parentNode
$parentNode: Element
Methods
$init
- $init(): HTMLDivElement
Returns HTMLDivElement
destroy
- destroy(): void
Returns void
getElement
- getElement(): HTMLElement
Returns HTMLElement
getHeight
- getHeight(): number
Returns number
getWidth
- getWidth(): number
Returns number
hide
- hide(e): void
Returns void
setClassName
- setClassName(className): void
Returns void
setHtml
- setHtml(html): void
Returns void
setPosition
- setPosition(x, y): void
Returns void
setText
- setText(text): void
Returns void
setTheme
- setTheme(theme): void
Returns void
show
- show(text?, x?, y?): void
Parameters
Optional
text: string
Optional
x: number
Optional
y: number
Returns void