Skip to content

v1.0.2: Add custom message handling capability to iframe-resizer

Choose a tag to compare

@ThomasDev-de ThomasDev-de released this 29 Apr 08:55
· 12 commits to main since this release
Introduced a mechanism for registering and handling custom messages via `onMessage`. Messages are validated for origin and processed by user-defined handlers. Also included proper cleanup of handlers during instance destruction to avoid memory leaks.