///_hyperscript

The attribute reference Expression

Syntax

[<name>[=<value>]]

Description

Attribute references are similar to CSS attribute references, and may or may not include a value.

Examples

<button _="on click add [disabled='true']">Disable Me!</button>

<button _="on click remove [disabled]">Enable Me!</button>