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

[Stretch] Investigate how to initialise multiple components on a single element #5216

Open
3 tasks
Tracked by #5205
romaricpascal opened this issue Aug 9, 2024 · 0 comments
Open
3 tasks
Tracked by #5205

Comments

@romaricpascal
Copy link
Member

romaricpascal commented Aug 9, 2024

What

Investigate how to allow data-module to contain a space separated list of components and initialise each of the components on the element when initialising components.

We'll need to consider the ordering of the initialisation: should it follow the list of components passed to the initialisation function or the found elements and the order in their data-module?

Why

This is a feature that GOV.UK component initialisation supports and other services may benefit from.

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

  • We've designed the feature
  • We've implemented the feature
  • We've documented the feature
@romaricpascal romaricpascal changed the title [Stretch] Allow createAll to initialise multiple components on a single element [Stretch] Investigate how to initialise multiple components on a single element Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog 🏃🏼‍♀️
Development

No branches or pull requests

1 participant