Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Bind menu dynamically to list items #249

Open
ph777 opened this issue Oct 18, 2017 · 0 comments
Open

Bind menu dynamically to list items #249

ph777 opened this issue Oct 18, 2017 · 0 comments

Comments

@ph777
Copy link

ph777 commented Oct 18, 2017

Hi there, thanks for great project. This is maybe not a issue but a newbie question (regarding the mdl branch).

What I'm trying to do is to build a list (mdl-list) with items, where each item has a menu button. In MDL it is common to have one menu definition for one menu button. In my scenario there is a lot of items that share the same menu definition. Therefore I'd like to have one menu definition shared by several items. How to accomplish this? I can't get menu definition rebind dynamically to a clicked menu button. The mdl-menus for/target attribute cannot be used, as it is bound only once. Is there a way to do it?

Thanks for any ideas.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant