ViewData interface

Represents information about view to show on Navigation Bar Menu item selection

Properties

listItems

Array of MenuItem. Icon value will be required for all items in the list.

listTitle

Display header title of the item list.

listType

Type of the menu item.

Property Details

listItems

Array of MenuItem. Icon value will be required for all items in the list.

listItems: MenuItem[]

Property Value

@microsoft/teams-js.@microsoft.teams-js.menus.MenuItem[]

listTitle

Display header title of the item list.

listTitle?: string

Property Value

string

listType

Type of the menu item.

listType: MenuListType

Property Value

@microsoft/teams-js.@microsoft.teams-js.menus.MenuListType