You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are the valid values of the theme attribute? Are custom themes supported?
What markup is allowed inside elements? The docs suggest that toasts contain an image, some text, and maybe some interaction, but does the markup allow for more interesting things? Text styling? ARIA markup?
What markup is allowed inside elements? The docs suggest that toasts contain an image, some text, and maybe some interaction, but does the markup allow for more interesting things? Text styling? ARIA markup?
Is there any provision to prevent malicious scripts from filling a user's screen with obnoxious amounts of toast?
Currently there is no intention to prevent an obnoxious amount of toasts, just like there is no part of the platform that prevents an obnoxious amount of divs. Note however that the intention is for it to be an in-page control, so it's not an obtrusive native UI element (#27). Also, if the author doesn't override the default behavior and styles, there should be some stacking or queuing, which can mitigate things a bit (see #19).
What happens to toast created in iframe elements?
Good question. The intention is for them to be constrained inside the iframe (see #27).
showToast
? Can we pass a DOM element instead?iframe
elements?The text was updated successfully, but these errors were encountered: