[Webkit-unassigned] [Bug 182671] Implementation (or not) of customized builtins (is="" attribute)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 27 18:39:38 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=182671

--- Comment #7 from Joe Pea <joe at trusktr.io> ---
I forgot to show in my previous comment that you need `observedAttributes` defined in order for `attributeChangedCallback` to work, just like with custom elements.

```
class AwesomeButton {
  // ... same as before, but you also need this:
  static observedAttributes = ['list', 'attributes', 'to', 'observe']
}
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191228/fcb3818d/attachment-0001.htm>


More information about the webkit-unassigned mailing list