Class: Toybox.WatchUi.ActionMenuItem
- Inherits:
-
Toybox.Lang.Object
Overview
Class that represents an action menu item.
Typedef Summary collapse
- Options as { :label as Lang.String or Lang.ResourceId }
Instance Method Summary collapse
-
getId() as Lang.Object or Null
Get a MenuItem identifier.
-
getLabel() as Lang.String
Get a MenuItem label.
-
initialize(options as ActionMenuItem.Options, identifier as Lang.Object or Null)
Constructor.
Typedef Details
Options as { :label as Lang.String or Lang.ResourceId }
Instance Method Details
getId() as Lang.Object or Null
Get a MenuItem identifier.
getLabel() as Lang.String
Get a MenuItem label.
initialize(options as ActionMenuItem.Options, identifier as Lang.Object or Null)
Constructor