Commit 629087c3 authored by micro-maureen's avatar micro-maureen Committed by Alexander Makarov

Fixed broken reference and typo in documentation of Dropdown's $items (#182) [skip ci]

parent 6c46dce6
...@@ -39,8 +39,8 @@ class Dropdown extends Widget ...@@ -39,8 +39,8 @@ class Dropdown extends Widget
* or an array representing a single menu with the following structure: * or an array representing a single menu with the following structure:
* *
* - label: string, required, the label of the item link. * - label: string, required, the label of the item link.
* - encode: boolean, optional, whether to HTML-ecnode item label. * - encode: boolean, optional, whether to HTML-encode item label.
* - url: string|array, optional, the url of the item link. This will be processed by [[Url::to()]]. * - url: string|array, optional, the URL of the item link. This will be processed by [[\yii\helpers\Url::to()]].
* If not set, the item will be treated as a menu header when the item has no sub-menu. * If not set, the item will be treated as a menu header when the item has no sub-menu.
* - visible: boolean, optional, whether this menu item is visible. Defaults to true. * - visible: boolean, optional, whether this menu item is visible. Defaults to true.
* - linkOptions: array, optional, the HTML attributes of the item link. * - linkOptions: array, optional, the HTML attributes of the item link.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment