custom-element
attributes should be
defined by attribute
markup as shown above.
The value is taken from attribute text content or from select
XPath expressionobservedAttributes
. xsl:param
which makes the attribute value available as
xsl variable (as attribute name prefixed with $). attributeChangedCallback
which triggers DCE re-render.
The value
attribute is usual case to be propagated from within of custom-element
.
See the using custom-element as form input example.