Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate default controllers for components with sockets #13

Open
oalexdoda opened this issue Aug 28, 2019 · 0 comments
Open

Generate default controllers for components with sockets #13

oalexdoda opened this issue Aug 28, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@oalexdoda
Copy link
Owner

Let's say you have a component called "menu". And Then you have multiple "menuItem" components inside that menu. A default controller (or meta?) could be generated by the script under "default.js" where it would work like this:

  • If there's multiple "menuItem" components inside "menu", it would create a content map using the "wfr-d" data points in each menu item. Rather than having to define data points for each "menuItem" component, it would try to identify the children of each menuItem (by class) and map those out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant