Commit 02db217
committed
Allow passing data-properties to menu items.
Usage:
menu: [
{ title: 'item a', data: { id: 123, 'some-other-property': 42, action:
... }
]
which adds
data-id="123" data-some-other-property="42"
to the a-element.1 parent d174e1f commit 02db217
File tree
1 file changed
+3
-0
lines changed1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
| |||
0 commit comments