prop:*
Edit this pageForces the prop to be treated as a DOM property instead of an attribute.
<div prop:scrollTop={props.scrollPos + "px"} />Attribute-First Model in Solid 2.0
Solid 2.0 uses an attribute-first model where props on native elements are set as attributes by default. Use prop:* when you specifically need to set a DOM property (e.g., scrollTop, value, checked) rather than an HTML attribute. This is the inverse of the attr:* prefix from Solid 1.x, which has been removed.
Strong-Typing Custom Properties
Type definitions are required when using TypeScript. See the TypeScript page for examples.