Class yii\jui\Menu

Inheritanceyii\jui\Menu » yii\widgets\Menu
Available since version2.0

Menu renders a menu jQuery UI widget.

See also http://api.jqueryui.com/menu/.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$clientEvents array The event handlers for the underlying jQuery UI widget. yii\jui\Menu
$clientOptions array The options for the underlying jQuery UI widget. yii\jui\Menu

Public Methods

Hide inherited methods

MethodDescriptionDefined By
init() Initializes the widget. yii\jui\Menu
run() Renders the widget. yii\jui\Menu

Property Details

$clientEvents public property

The event handlers for the underlying jQuery UI widget. Please refer to the corresponding jQuery UI widget Web page for possible events. For example, this page shows how to use the "Accordion" widget and the supported events (e.g. "create").

public array $clientEvents = []
$clientOptions public property

The options for the underlying jQuery UI widget. Please refer to the corresponding jQuery UI widget Web page for possible options. For example, this page shows how to use the "Accordion" widget and the supported options (e.g. "header").

public array $clientOptions = []

Method Details

init() public method

Initializes the widget.

If you override this method, make sure you call the parent implementation first.

public void init ( )
run() public method

Renders the widget.

public void run ( )