Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan BOUZEKRI committed Aug 20, 2014
1 parent 7e1271b commit 56630c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the repository to the composer.json file of your project and run the update
``` json
{
"require": {
"jbouzekri/config-knp-menu-bundle": "1.0.0"
"jbouzekri/config-knp-menu-bundle": "2.0.0"
}
}
```
Expand Down Expand Up @@ -81,6 +81,7 @@ This is the available configuration definition for an item.

``` yml
my_mega_menu:
childrenAttributes: An array of attributes passed to the root ul tag
tree:
first_level_item:
uri: "An uri. Use it if you do not define route parameter"
Expand All @@ -91,6 +92,7 @@ my_mega_menu:
attributes: An array of attributes passed to the knp item
linkAttributes: An array of attributes passed to the a tag
childrenAttributes: An array of attributes passed to the chidlren block
labelAttributes: An array of attributes passed to the label tag
display: boolean to hide the item
displayChildren: boolean to hide the children
children: # An array of subitems
Expand Down

0 comments on commit 56630c2

Please sign in to comment.