_hyperscript
_hyperscript copied to clipboard
[Docs] Reference missing entry on ‘style property reference'
The ‘Expressions’ section’ of the hyperscript reference docs explains:
- query references such as
<selector/>, - id references such as
#id, - class references such as
.classand - attribute references such as
@attr
But there is no entry for style property references, such as *property, even though they are an integral part of the language.
In the hyperscript docs, they are included in the ‘DOM literals’ section, along with all other ‘reference expresssions’ listed above.
I exactly stumbled upon this yesterday, when I couldn't recall what was the syntax for style properties. Read most of the the reference and still couldn't find it.
It looks like this particular issue is a duplicate of #350, but yet is 2025 and still there is no reference page for this feature.