toastContainer

fun <E : HTMLElement> toastContainer(name: String, classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<E>>)

Factory function to create a toastContainer.

It is recommended to define some explicit z-index within the classes-parameter.

For more information refer to the official documentation

Parameters

name

the mandatory name of the container. This ultimately defines the container's identity.


fun toastContainer(name: String, classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {})

Factory function to create a toastContainer with a HTMLUListElement as default Tag.

It is recommended to define some explicit z-index within the classes-parameter.

For more information refer to the official documentation

Parameters

name

the mandatory name of the container. This ultimately defines the container's identity.