We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
initAll
Move as many responsibilities from initAll to the components so that initAll is doing as little as possible.
For example, the data-module selector is only defined in initAll.
data-module
Add any new methods to the JavaScript API reference
To make it easier to include the JS for components without needing to import or use the initAll function.
Developers
The text was updated successfully, but these errors were encountered:
createAll
Reopening waiting for alphagov/govuk-frontend-docs#443 to be merged.
Sorry, something went wrong.
36degrees
romaricpascal
owenatgov
Successfully merging a pull request may close this issue.
What
Move as many responsibilities from
initAll
to the components so thatinitAll
is doing as little as possible.For example, the
data-module
selector is only defined ininitAll
.Add any new methods to the JavaScript API reference
Why
To make it easier to include the JS for components without needing to import or use the
initAll
function.Who needs to know about this
Developers
Done when
initAll
does as little as possible.The text was updated successfully, but these errors were encountered: