Skip to content

Menu.addSections method

Menu › addSections

Unofficial

Add a section to the menu.

Signature:

addSections(items: string[]): this

Parameters:

ParameterTypeDescription
itemsstring[]The section names to add.

Returns: thisThe menu instance.