Class Dropdown
Dropdown renders a foundation dropdown. It differs from MenuDropdown helper.
- CWidget
- foundation\widgets\base\Widget
- foundation\widgets\Dropdown
Namespace: foundation\widgets
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/dropdown.html
Located at widgets/Dropdown.php
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/dropdown.html
Located at widgets/Dropdown.php
Methods summary
public
|
|
public
|
|
protected
string
|
Methods inherited from foundation\widgets\base\Widget
display()
,
registerAssets()
,
registerEvents()
,
registerPlugin()
Magic methods summary
Properties summary
public
array
|
$items |
#
list of menu items in the dropdown. Each array element represents a single menu with the following structure:
If its a content dropdown style, this property will be ignored and will $dropdownContent used instead. |
public
string
|
$dropdownContent |
#
the content to be rendered if $type = ' |
public
string
|
$type |
#
$type the type of dropdown, whether is Enum::DROPDOWN_CONTENT or Enum::DROPDOWN_LIST |
public
boolean
|
$encodeLabels |
#
whether the labels for header items should be HTML-encoded. |