constructor([text])

Class: MenuBar.

Description:

Constructor of MenuBar UI component.

Parameters:

Name Type Description

[text]

string

Text displayed in the menu