Interface MenuTemplateBase

The common base interface for all menu template interfaces.

Hierarchy

Index

Properties

Properties

Optional id

id: string

An optional value that can be set to assist in implementing the menu logic. It is ignored by showMenu and does not affect any DOM ids.

Optional items

An array of templates for the items that will comprise the menu or submenu.

Optional onUse

If defined, this function will be called when the user chooses a menu item.

This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.