Quartz Headless docs/ToggleDirective

Search documentation

Type to search the documentation.

API: Primitives

ToggleDirective

Directive reference for ToggleDirective with the selector button[qzToggle].

Overview

Selector

button[qzToggle]

Inputs

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

Public methods

toggle

toggle(event?: Event): void
Parameter Type Optional Description
event Event Yes