Class: $.Menu2Sample

Inherits:
Application.AppBase show all

Overview

This app shows the different Menu2 menus that can be used, including menus with toggles, checkboxes, icons, and images.

Instance Method Summary collapse

Instance Method Details

getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]

Return the initial view for the app

Returns:

  • Array [View, Delegate]

initialize()

Constructor

onStart(state as Lang.Dictionary or Null) as Void

Handle app startup

Parameters:

  • state —

    Startup arguments

onStop(state as Lang.Dictionary or Null) as Void

Handle app shutdown

Parameters:

  • state —

    Shutdown arguments


Generated Oct 20, 2026, 8:20:47 AM