If you prefix any of your element's attributes with a s: it becomes a flag.

Flags are passed to this.flags and are recommended for namespacing your "service" attributes.

Available flags

Sandstone also pre-defines some flags that change the behavior of Sandstone components:


If this flag is set, content of a custom element tag won't be passed to this.props.children when component is rendered.


This flag locks external attribute manipulation. If an external force like jQuery is trying to change an element with this flag, changes won't be passed down to this.props and it will throw an error.

Next: Events →

results matching ""

    No results matching ""