Class: Controller

Controller

new PUXI.Controller ()

A controller handles a stage-level state that can be held by wigets. For example, PUXI.FocusController handles which widget is focused.

Methods

in (widget)

Enables the widget to enter the controller's state.

Name Type Description
widget PUXI.Widget

out (widget)

Disables the widget from the controller's state.

Name Type Description
widget PUXI.Widget