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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a global "expand/collapse elements" button #6303
Conversation
I'd just output the labels as JSON in an additional |
but this would output the labels for every |
Which is good enough, since there will likely only be one toggle button per back end response, or won't there? |
no, the controller is on every content element that implements the dynamic height property. It dynamically generates the global toggle operation on the fly. |
76603d0
to
ac42839
Compare
I have rewritten the whole controller script and approach. Instead of setting a |
251a087
to
64dc973
Compare
70d8b55
to
51bbc70
Compare
c613c7d
to
58d6651
Compare
Thank you @aschempp. |
Implements #6025
What I have not figured out yet (and could not find any useful resources on the internet) was how to efficiently localize the controller. Passing 6 labels on ever instantiation feels wrong to me, but having a global array feels wrong too 馃し any ideas?