diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-06-11 01:12:21 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-08-21 01:05:38 +1000 |
| commit | 26de1cfe7656decf6584e0f793f29d09a7a5ca79 (patch) | |
| tree | 48431a937737a6949f1a0bcc7bacead566f6bf07 /wwwroot | |
| parent | b9b0f08222287e8c24ab16b3fc610e04213942f1 (diff) | |
Added button.js for new Razor Button component
Diffstat (limited to 'wwwroot')
| -rw-r--r-- | wwwroot/js/button.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wwwroot/js/button.js b/wwwroot/js/button.js new file mode 100644 index 0000000..f5d32f5 --- /dev/null +++ b/wwwroot/js/button.js @@ -0,0 +1,6 @@ +function triggerButtonError(e) { + e.classList.remove('error') + void e.offsetWidth; + e.classList.add('error') + void e.offsetWidth; +} |
