Closed
Description
One of the concrete things I want to do is to resize a font within the shadow DOM when the window is resized. However the attached event fires before the DOM is ready and I can't just listen to resize events on an object. It would be ideal to enable something like:
listeners: {
'document.DOMContentLoaded': 'domReady',
'window.resize': 'resizeObserver'
},
Alternative / workaround is to use addEventListener to set the event handler.
Metadata
Assignees
Labels
No labels