We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1bf83 commit eb95589Copy full SHA for eb95589
demo/index.js
@@ -32,6 +32,14 @@ document.addEventListener('DOMContentLoaded', () => {
32
if (typeWords.checked) types.push('words');
33
if (typeChars.checked) types.push('chars');
34
35
+ if (cssBalance.checked) {
36
+ noBalance.setAttribute('disabled', 'disabled');
37
+ balanceRatio.setAttribute('disabled', 'disabled');
38
+ } else {
39
+ noBalance.removeAttribute('disabled');
40
+ balanceRatio.removeAttribute('disabled');
41
+ }
42
+
43
return {
44
type: types.join(','),
45
noAriaLabel: noAriaLabel.checked,
0 commit comments