kongondo / MenuBuilder

Easily create navigation lists/menus using drag and drop
GNU General Public License v2.0
21 stars 8 forks source link

Feature Request: default_class #18

Closed jlahijani closed 8 years ago

jlahijani commented 9 years ago

Although the ability exists to place a custom class on each menu item in the menu builder, there doesn't exist an option to place a default class that all items should use.

Here's a good use case.

Let's say I want to output a menu using Bootstrap's List Group component. Each of the items needs to have the class "list-group-item".

Now also let's say I want to output that same menu but without the "list-group-item" class on the menu items, then I could easily remove it from the options array.

kongondo commented 9 years ago

Good idea. I will implement this at the API level (in the $options array).

kongondo commented 8 years ago

Added in version 011 in commit 7f0ed12eddc30affb59bb52cb7e1791924a34889 and prior. Thanks.