Skip to content

Conversation

@callmez
Copy link
Contributor

@callmez callmez commented Aug 14, 2013

Dropdown::widget(array(
    'items' => array(
        array('label' => 'li1', 'url' => $this->context->createUrl('site/index')),
        array('label' => '', 'options' => array('class' => 'divider')),
        array('label' => 'li3', 'url' => $this->context->createUrl('site/index')),
    )
)

```php
Dropdown::widget(array(
	'items' => array(
		array('label' => 'li1', 'url' => $this->context->createUrl('site/index')),
		array('label' => '', 'options' => array('class' => 'divider')),
		array('label' => 'li3', 'url' => $this->context->createUrl('site/index')),
	)
)
```
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 0c7545c on callmez:master into b6e3dd2 on yiisoft:master.

@qiangxue qiangxue closed this in b51c7e3 Aug 14, 2013
@qiangxue
Copy link
Member

You can directly enter "<li class="divider"></li>" as an element of items.

@callmez
Copy link
Contributor Author

callmez commented Aug 14, 2013

Oh, I see it. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants