Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rasso
15 hours ago
|
parent
|
context
|
favorite
| on:
You can make up HTML tags
Beware that connectedCallback runs _every time_ a custom element is added to the dom. So you should make sure to only add event listeners once by tracking internally if the element was already initialized.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: