Twig API
Parameters
attr
- Type:
array
Shorthand of list_attr
.
list_attr
- Type:
array
Customize the list element attributes.
item_attr
- Type:
array
Customize the list item elements attributes.
icon_attr
- Type:
array
Customize the icon attibutes.
action_attr
- Type:
array
Customize the action element attributes.
action_tag
- Type:
string
Customize the action element type (tag).
items
- Type:
array
Use the icon name in key and the url in value for each entry of this array. You can pass an array instead of the url to pass custom attributes to the action.
Blocks
item
Use this block to override the component behavior inside the list items.
icon
Use this block to override the icons.