WebUI styleguide: Add customElements.define() call to example
Bug: None Change-Id: Ib1c83b16994e9d5a2ea3768effda8ea73951511d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2857354 Auto-Submit: Rebekah Potter <rbpotter@chromium.org> Reviewed-by: dpapad <dpapad@chromium.org> Commit-Queue: dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#877384}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
c6fb7052d0
commit
006fa5877f
@ -387,6 +387,8 @@ class MyAppElement extends PolymerElement {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define(MyAppElement.is, MyAppElement);
|
||||
```
|
||||
|
||||
* Use a consistent ordering for common methods (or, in legacy code, the
|
||||
|
Reference in New Issue
Block a user