Application.getMenuById

Gets a menu from automatically loaded resources. See [Automatic resources][automatic-resources] for more information.

class Application
getMenuById
(
string id
)

Parameters

id string

the id of the menu to look up

Return Value

Type: Menu

Gets the menu with the given id from the automatically loaded resources

Meta

Since

3.14