Skip to main content

title

Description

Optional. Sets the text of a modal box's header

Usage

title?: string;

Example

<template>
<Portal>
<Modal title="Custom Prompt" :onconfirm="hideAll" :oncancel="hideAll">
<Text :select="true" :focus="true" value="Some" />
</Modal>
</Portal>
</template>

Related article: Adding the header title

Related sample: Messages