Skip to content

Boolean attributes

Boolean attributes are recognized as follows in this library:

Attribute valueExampleRecognized value
(unspecified)<phi-button>false
"" (empty string)<phi-button disabled>true
"0" or "false"<phi-button disabled=0>false
any other non-empty string<phi-button disabled="no">true