issues
search
peckadesign
/
pd-naja
1
stars
0
forks
source link
New extensions
#8
Closed
zipper
closed
11 months ago
zipper
commented
11 months ago
feature: New extension BtnSpinnerExtension
The extension allowing you to use a spinner on a button element.
chore: ESLint settings
feature: New extension SingleSubmitExtension
The extension that prevents multiple form submissions due to an error, such as double-clicking the button.
New helper method
isDatasetFalsy
to evaluate if the extension should be disabled.
feature: SpinnerExtension and BtnSpinnerExtension toggled by single data attribute
SpinnerExtension can now be disabled with the
data-naja-spinner="btn"
attribute, which also enables BtnSpinnerExtension. This allows you to control these two extensions simultaneously using a single data attribute.
isDatasetFalsy
to evaluate if the extension should be disabled.data-naja-spinner="btn"
attribute, which also enables BtnSpinnerExtension. This allows you to control these two extensions simultaneously using a single data attribute.