We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a252fae commit ff0dcdbCopy full SHA for ff0dcdb
1 file changed
src/routes/reference/jsx-attributes/bool.mdx
@@ -28,13 +28,13 @@ See the [TypeScript](/configuration/typescript#forcing-properties-and-custom-att
28
29
- **Type:** any truthy or falsy value
30
31
-Truthy values add the attribute. Falsy values remove it.
+Any JavaScript value is coerced by truthiness.
32
33
## Behavior
34
35
-- `bool:name={value}` adds `name` when `value` is truthy.
+- `bool:name={value}` writes `name=""` when `value` is truthy.
36
- `bool:name={value}` removes `name` when `value` is falsy.
37
-- When present, the attribute is written as an empty string attribute.
+- SSR output follows the same presence-or-absence behavior.
38
39
## Examples
40
0 commit comments