Skip to content

Class: SideDrawerMenuItemProxy

SideDrawerMenuItemProxy is a developer-facing class that provides access to a menu item control of sideDrawer for application specific customizations.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

Constructor

+ new SideDrawerMenuItemProxy(indexPath: [number, number], container: SideDrawer, context: IContext): SideDrawerMenuItemProxy

Overrides ClientAPI.constructor

Parameters:

Name Type
indexPath [number, number]
container SideDrawer
context IContext

Returns: SideDrawerMenuItemProxy

Methods

getTitle

getTitle(): string

Implementation of ISideDrawerMenuItemProxy.getTitle

Returns: string

the caption of the menu item


reset

reset(): Promise<PageProxy>

Reset the SideDrawerMenuItem's navigation stack. If the selected sideDrawer menu item is active, it navigates to the initial page configured in the PageToOpen attribute.

Implementation of ISideDrawerMenuItemProxy.reset

Returns: Promise<PageProxy>

the pageProxy of the current page after reset


setTitle

setTitle(title: string): void

Set menu item caption

Implementation of ISideDrawerMenuItemProxy.setTitle

Parameters:

Name Type
title string

Returns: void


setVisibility

setVisibility(visibility: boolean): void

Set menu item visibility

Implementation of ISideDrawerMenuItemProxy.setVisibility

Parameters:

Name Type
visibility boolean

Returns: void