Overview
Selector
button[qzToggle]
| Input |
Type |
Default |
Required |
Description |
disabled |
unknown |
false |
|
Transform booleanAttribute; reads as boolean. |
Models
Two-way bindings: each model is an input and emits the matching change output.
| Model |
Type |
Default |
Required |
Change output |
Description |
pressed |
boolean |
false |
|
pressedChange |
|
Outputs
| Output |
Payload |
Description |
pressedChangeCommitted |
boolean |
Emits once per user activation (click, Enter, Space). Programmatic pressed writes are silent. |
Properties
| Name |
Type |
Description |
readonly isDisabled |
Signal<boolean> |
Effective disabled state: the disabled input OR a disabled Angular Forms control. |
Public methods
toggle
toggle(event?: Event): void
| Parameter |
Type |
Optional |
Description |
event |
Event |
Yes |
|
setFormDisabled(disabled: boolean): void
Adapter hook for @quartz-headless/primitives/forms (setDisabledState).
| Parameter |
Type |
Optional |
Description |
disabled |
boolean |
|
|