I have the case when I'd like to render the toast message and position it relative to the element within the iframe, so adding ct-container id won't work as document.getElementById('ct-container') is executed in the main window.
This change allows passing an option of a container css selector.
Hi, thank you for creating this library.
I have the case when I'd like to render the toast message and position it relative to the element within the iframe, so adding
ct-container
id won't work asdocument.getElementById('ct-container')
is executed in the main window.This change allows passing an option of a container css selector.