Skip to main content
Version: v3

showToast

Start from API_LEVEL 2.0 . Please refer to API_LEVEL.

showToast_image}

Display Message Prompt Box.

Type

function showToast(option: Option): void

Parameters

Option

PropertyTypeRequiredDefaultValueDescriptionAPI_LEVEL
contentstringY-Content of the prompt2.0

Example

import { showToast } from '@zos/interaction'

showToast({
content: 'hello world',
})