Attaching listeners for standard DOM events
Open
- Dominant language
- JavaScript
- Stars
- 394
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to attach listeners for standard DOM events like `copy`, for example?
As far as I can see, this won't work as it's not a famous:event or a $dispatcher event:
```
events: {
'#el': {
'copy': function($dispatcher) {
console.log(e);
}
}
```
There doesn't seem to be a way to access the DOM node directly from with event. `$dispatcher` exposes a virtual DOM node for the host component but even event listeners attached to them do not show up once the DOM tree is created. $DOMElement doesn't expose a node so it's a no go either.
Any ideas?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.