Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation
MenuConfiguration

MenuConfiguration Class Reference

Constructors

Instance Methods

Constructors

new MenuConfiguration()

Creates a new instance of MenuConfiguration

Instance Methods

menuConfiguration.equals(other) ⇒ Boolean

Checks whether two MenuConfigurations can be considered equivalent

Kind: Instance method of MenuConfiguration
Returns: Boolean - Whether the objects are the same or not

ParamTypeDescription
other MenuConfiguration The object to compare

menuConfiguration.getMenuLayout() ⇒ MenuLayout

Gets the main menu layout

Kind: Instance method of MenuConfiguration
Returns: MenuLayout - The default main menu layout.

menuConfiguration.getSubMenuLayout() ⇒ MenuLayout

Gets the sub menu layout

Kind: Instance method of MenuConfiguration
Returns: MenuLayout - The default submenu layout. To change this for an individual submenu, set the menuLayout property on the MenuCell constructor for creating a cell with sub-cells.

menuConfiguration.setMenuLayout(mainMenuLayout) ⇒ MenuConfiguration

Sets the main menu layout

Kind: Instance method of MenuConfiguration
Returns: MenuConfiguration - A reference to this instance to support method chaining

ParamTypeDescription
mainMenuLayout MenuLayout Changes the default main menu layout.

menuConfiguration.setSubMenuLayout(submenuLayout) ⇒ MenuConfiguration

Sets the sub menu layout

Kind: Instance method of MenuConfiguration
Returns: MenuConfiguration - A reference to this instance to support method chaining

ParamTypeDescription
submenuLayout MenuLayout Changes the default submenu layout. To change this for an individual submenu, set the menuLayout property on the MenuCell constructor for creating a cell with sub-cells.
View on GitHub.com
Previous Section Next Section