Menu
Extends:
Static Method Summary
| Static Public Methods | ||
| public static |
|
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
activeItem: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
container: * |
|
| public |
dom: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
items: *[] |
|
| public |
parentMenu: * |
|
| public |
|
|
| Private Members | ||
| private |
|
|
| private |
_popup: * |
|
| private |
_submenu: * |
|
| private |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
addItemExtra(text: *, id: *, hotkey: *, icon: *, add: boolean, tooltip: *): * |
|
| public |
|
|
| public |
calcSize() |
|
| public |
click() |
|
| public |
close() |
|
| public |
float(x: *, y: *, zindex: *) |
|
| public |
init() |
|
| public |
menu(title: *): * |
|
| public |
selectNext(focus: boolean): * |
|
| public |
selectPrev(focus: boolean): * |
|
| public |
seperator(): * |
|
| public |
|
|
| public |
setCSS() |
|
| public |
|
|
| public |
startFancy(prepend: *, setActive: boolean) |
|
| public |
start_fancy(prepend: *, setActive: boolean): * |
|
| Private Methods | ||
| private |
|
|
| private |
|
|
| private |
|
|
Static Public Methods
Public Constructors
public constructor() source
Public Members
public activeItem: * source
public container: * source
public dom: * source
public items: *[] source
public parentMenu: * source
Private Members
private _popup: * source
private _submenu: * source
Public Methods
public addItem(item: *, id: *, add: boolean, tooltip: *): * source
Params:
| Name | Type | Attribute | Description |
| item | * | ||
| id | * | ||
| add | boolean |
|
|
| tooltip | * |
|
Return:
| * |
public addItemExtra(text: *, id: *, hotkey: *, icon: *, add: boolean, tooltip: *): * source
Params:
| Name | Type | Attribute | Description |
| text | * | ||
| id | * |
|
|
| hotkey | * | ||
| icon | * |
|
|
| add | boolean |
|
|
| tooltip | * |
|
Return:
| * |
public buildStyle() source
public calcSize() source
public click() source
public close() source
public float(x: *, y: *, zindex: *) source
Params:
| Name | Type | Attribute | Description |
| x | * | ||
| y | * | ||
| zindex | * |
|
public init() source
public selectNext(focus: boolean): * source
Params:
| Name | Type | Attribute | Description |
| focus | boolean |
|
Return:
| * |
public selectPrev(focus: boolean): * source
Params:
| Name | Type | Attribute | Description |
| focus | boolean |
|
Return:
| * |
public setActive(item: *, focus: boolean) source
Params:
| Name | Type | Attribute | Description |
| item | * | ||
| focus | boolean |
|
public setCSS() source
public startFancy(prepend: *, setActive: boolean) source
Params:
| Name | Type | Attribute | Description |
| prepend | * | ||
| setActive | boolean |
|
public start_fancy(prepend: *, setActive: boolean): * source
Params:
| Name | Type | Attribute | Description |
| prepend | * | ||
| setActive | boolean |
|
Return:
| * |
