-
Notifications
You must be signed in to change notification settings - Fork 39
Menu
-
create(): HTMLElement
-
createItem(label:str, [value:str]): HTMLElement
-
createItems(items:Array|Object, callback): DocumentFragment
-
getItemByValue(Menu:HTMLElement, value:str): HTMLElement | false
-
getItems(Menu:HTMLElement): HTMLCollection
-
appendItem(Menu: HTMLElement, Item: HTMLElement): void
-
appendItems(Menu: HTMLElement, Item: HTMLElement): void
-
removeItems(Menu: HTMLElement): void
-
replaceItems(Menu: HTMLElement, Items: DocumentFragment): void
-
createAndReplaceItems(Menu: HTMLElement, items: Array|Object): void
-
createAndAppendItem(Menu: HTMLElement, itemLabel: str, [itemValue: str]): void
-
show(Menu: HTMLElement)
-
hide(Menu: HTMLElement)
-
isVisible(Menu: HTMLElement): bool
-
isHidden(Menu: HTMLElement): bool
-
isEmpty(Menu: HTMLElement): bool
-
hasItems(Menu: HTMLElement): bool
-
getItemsCount(Menu: HTMLElement): number