create

@CheckReturnValue
abstract fun create(title: String): ModalBuilder(source)

Creates a new modal.

The modal expires after a default timeout, which can be overridden, or set by ModalBuilder.timeout.

Parameters

title

The title of the modal