<foo-bar baz=bat>
This is 👉 {baz}
</foo-bar>
<script>
Element `foo-bar`
(class extends HTMLElement {
set baz () {
// defaults to returning this.attributes.baz.nodeValue
// defaults to being added to observedAttributes
}
})
</script>
</foo-bar>
Current Behavior
Possible Solution
Steps to Reprod(uce)
1.
2.
3.
4.
Context
Your Environment
Version used:
Environment name and version (e.g. PHP 5.4 on nginx 1.9.1):
Look up
CE.attributesChangedCallback
&CE.observedAttributes
Expected Behavior
Current Behavior
Possible Solution
Steps to Reprod(uce)
1.
2.
3.
4.
Context
Your Environment