Class: ModuleContainer

XV. ModuleContainer

new ModuleContainer()

Source:

Extends

  • enyo.Panels

Methods

addChildWorkspacePanel()

Do the exact same thing as addWorkspace, just use a ChildWorkspaceContainer instead of a WorkspaceContainer.
Source:

addWorkspace()

Create and drill down into a new workspace as defined by the inEvent object
Source:

appendActions(Module, Actions, Functions)

Add actions to a module. If any are found to already exist by the same name they will be ignored. NOTE: Actions require a target function to execute which must also be added to the module in order for the action to work
Parameters:
Name Type Description
Module String name
Actions Array
Functions Array
Source:

appendPanels(Module, Panels, Append)

Add panels to a module. If any are found to already exist by the same name they will be ignored.
Parameters:
Name Type Description
Module String name
Panels Array
Append Boolean panels first
Source:

insertModule(Module, Index)

Insert a new `module`. `Index` is currently ignored, but may be used in the future. The modules are appended to the end of the menu (before setup) based on extension load order.
Parameters:
Name Type Description
Module Object
Index Number
Source:

notify()

The model wants to ask the user something.
Source:

notifyTap()

The OK button has been clicked from the notification popup. Close the popup and call the callback with the appropriate parameter if the callback exists.
Source:

previous()

Go back to the previous panel. Note the implementation here means that we can't just put components anywhere we want in the component array. The navigator has to be the last one, so we can simply go "back" to it coming back out of a workspace.
Source: