Interface: ISideDrawerControlProxy¶
Hierarchy¶
-
ISideDrawerControlProxy
Implemented by¶
Summary¶
Properties¶
Class Properties¶
Inherited Properties¶
Methods¶
Class Methods¶
- getMenuItem
- getMenuItemsAtSection
- getSelectedMenuItemIndexPath
- getSelectedMenuItemName
- setSectionVisibilityAtIndex
- setSelectedMenuItemByIndexPath
- setSelectedMenuItemByName
- setSideDrawerButton
Inherited Methods¶
Properties¶
menuItems¶
• menuItems: Array‹ISideDrawerMenuItemProxy[]›
sections¶
• sections: string[]
Methods¶
getMenuItem¶
▸ getMenuItem(name
: String): ISideDrawerMenuItemProxy
Parameters:
Name | Type |
---|---|
name |
String |
Returns: ISideDrawerMenuItemProxy
a single SideDrawerMenuItemProxy instance of the menu item that's identified by the provided name (which is based on the _Name property)
getMenuItemsAtSection¶
▸ getMenuItemsAtSection(sectionIndex
: number): ISideDrawerMenuItemProxy[]
Parameters:
Name | Type |
---|---|
sectionIndex |
number |
Returns: ISideDrawerMenuItemProxy[]
getSelectedMenuItemIndexPath¶
▸ getSelectedMenuItemIndexPath(): [number, number]
Returns: [number, number]
selected menu item indexPath
getSelectedMenuItemName¶
▸ getSelectedMenuItemName(): string
Returns: string
selected menu item name
setSectionVisibilityAtIndex¶
▸ setSectionVisibilityAtIndex(sectionIndex
: number, visibility
: boolean): any
Parameters:
Name | Type |
---|---|
sectionIndex |
number |
visibility |
boolean |
Returns: any
setSelectedMenuItemByIndexPath¶
▸ setSelectedMenuItemByIndexPath(indexPath
: [number, number]): any
Parameters:
Name | Type |
---|---|
indexPath |
[number, number] |
Returns: any
setSelectedMenuItemByName¶
▸ setSelectedMenuItemByName(name
: string): any
Parameters:
Name | Type |
---|---|
name |
string |
Returns: any
setSideDrawerButton¶
▸ setSideDrawerButton(iconPath
: string): any
Parameters:
Name | Type |
---|---|
iconPath |
string |
Returns: any