You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
711 B
711 B
Flags
If you prefix any of your element's attributes with a p:
it becomes a flag.
Flags are passed to this.flags
and are recommended for namespacing your "service" attributes.
Available flags
Pillar also pre-defines some flags that change the behavior of Pillar components:
p:ignore-children
If this flag is set, content of a custom element tag won't be passed to this.props.children
when
component is rendered.
p:protected
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: Shadow DOM→