Skip to content

Commit 10142a4

Browse files
committed
add docs example
1 parent 63e9011 commit 10142a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/app.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ $layout->menuLeft->addItem(['Layouts', 'icon' => 'object group'], ['layouts']);
449449
450450
$editGroup = $layout->menuLeft->addGroup(['Edit', 'icon' => 'edit']);
451451
$editGroup->addItem('Basics', ['edit/basic']);
452+
453+
$newsGroup = $layout->menuLeft->addGroup(['News', 'label' => ['28', 'class.red' => true]]);
454+
$newsGroup->addItem('Emails', ['news/emails']);
452455
```
453456

454457
:::{php:attr} menu

0 commit comments

Comments
 (0)