Open gruns opened 5 years ago
Do you want to make a PR?
Do you want to make a PR?
I'd love to, but I am starved for time right now. I won't be able to take a stab at this for, at minimum, a few weeks.
To anyone with providential inclination: feel free to take a crack at this.
I am on holiday for the next month, so no rush
Roadmapped for v5.1
That would be nice, we can't add onMessage
after initialization at the moment
Currently event handlers can only be setup at initialization time in the constructor's
options
parameter.Instead,
iFrameResizer
should implement the standardEventTarget
interfacewith
addEventListener()
,removeEventListener()
, anddispatchEvent()
so 1) iFrameResizer follows the standard JS events API and 2) event handling can change dynamically.