comparison design_system/src/components/button.js @ 254:2b6e732087ff

[ui] Add complete native component catalog Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Tue, 04 Aug 2026 15:12:09 -0700
parents 117c4d53c9a4
children
comparison
equal deleted inserted replaced
253:fdf3816959cb 254:2b6e732087ff
1 /**
2 * Enhances a native button or link with disabled and loading states.
3 *
4 * @extends {HTMLElement}
5 */
1 export class ZenButton extends HTMLElement { 6 export class ZenButton extends HTMLElement {
2 static get observedAttributes() { 7 static get observedAttributes() {
3 return ["disabled", "loading"]; 8 return ["disabled", "loading"];
4 } 9 }
5 10