Skip to content

Modal.setContent method

Modal › setContent

Official

Set the content of the modal.

Signature:

setContent(content: string | DocumentFragment): this

Parameters:

Parameter Type Description
content string | DocumentFragment

Returns: this