Skip to content

Class: SideDrawerControlProxy

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

constructor

+ new SideDrawerControlProxy(context: IContext): SideDrawerControlProxy

Overrides ControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: SideDrawerControlProxy

Accessors

menuItems:

Implementation of ISideDrawerControlProxy.menuItems


sections

sections:

Implementation of ISideDrawerControlProxy.sections

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[]

Implementation of ISideDrawerControlProxy

Parameters:

Name Type
sectionIndex number

Returns: ISideDrawerMenuItemProxy[]


getSelectedMenuItemIndexPath

getSelectedMenuItemIndexPath(): [number, number]

Implementation of ISideDrawerControlProxy

Returns: [number, number]

selected menu item indexPath


getSelectedMenuItemName

getSelectedMenuItemName(): string

Implementation of ISideDrawerControlProxy

Returns: string

selected menu item name


isContainer

isContainer(): boolean

Implementation of ISideDrawerControlProxy

Overrides ControlProxy.isContainer

Returns: boolean


setSectionVisibilityAtIndex

setSectionVisibilityAtIndex(sectionIndex: number, visibility: boolean): void

Implementation of ISideDrawerControlProxy

Parameters:

Name Type
sectionIndex number
visibility boolean

Returns: void


setSelectedMenuItemByIndexPath

setSelectedMenuItemByIndexPath(indexPath: [number, number]): void

Implementation of ISideDrawerControlProxy

Parameters:

Name Type
indexPath [number, number]

Returns: void


setSelectedMenuItemByName

setSelectedMenuItemByName(name: string): void

Implementation of ISideDrawerControlProxy

Parameters:

Name Type
name string

Returns: void


setSideDrawerButton

setSideDrawerButton(iconPath: string): any

Implementation of ISideDrawerControlProxy

Parameters:

Name Type Description
iconPath string Path of the icon

Returns: any