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
The button component currently uses a data-prevent-double-click data attribute to enable the 'prevent double click' functionality.
data-prevent-double-click
Update the button component so that the config can also be passed as an object when initialising the component in JavaScript.
As per #1708 (comment), any config passed via data attributes takes precedence over config passed when initialising a component.
This aligns the general concept of 'component config' with the approach we're using for internationalisation.
Developers
initAll
The text was updated successfully, but these errors were encountered:
romaricpascal
Successfully merging a pull request may close this issue.
What
The button component currently uses a
data-prevent-double-click
data attribute to enable the 'prevent double click' functionality.Update the button component so that the config can also be passed as an object when initialising the component in JavaScript.
As per #1708 (comment), any config passed via data attributes takes precedence over config passed when initialising a component.
Why
This aligns the general concept of 'component config' with the approach we're using for internationalisation.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
initAll
data-prevent-double-click
data attribute is present on the $module HTML element it overrides any config set via initialisationThe text was updated successfully, but these errors were encountered: