diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-06-11 01:12:21 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-16 23:32:07 +1000 |
| commit | 48044fb9452ab20ab9683ebb4243615e748a13a3 (patch) | |
| tree | d9c1b46e161bca73e0c34059385817448a074ca7 /wwwroot | |
| parent | 0b7de1eedce055bebe62d0e944018de1e9c7f3c2 (diff) | |
Added button.js for new Razor Button componentwasm-server
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; +} |
