Home Reference Source
public class | source

MenuComponent

Extends:

potassium-es/src/Component~Component → MenuComponent

MenuComponent holds a set of menu item Components. Users are given the opportunity to choose items from the menu.

Constructor Summary

Public Constructor
public

constructor(dataObject: DataObject, options: Object)

Member Summary

Public Members
public get
public get
public set

Method Summary

Public Methods
public

appendMenuItem(component: *)

public

layout()

Public Constructors

public constructor(dataObject: DataObject, options: Object) source

Params:

NameTypeAttributeDescription
dataObject DataObject
  • optional
  • default: null
options Object
  • optional
  • default: null

Public Members

public get menuItems: * source

public get selectedIndex: * source

public set selectedIndex source

Public Methods

public appendMenuItem(component: *) source

Params:

NameTypeAttributeDescription
component *

public layout() source