Skip to main content

KToastOption

kds-plugin-document / Exports / KToastOption

Interface: KToastOption

信息提示选项

The KToastOption class represents the toast option.

Table of contents

Properties

Properties

closable

Optional closable: boolean

信息提示是否可关闭

Whether to show the close button or not.The default value is false

Defined in

api.d.ts:3985


content

content: string

信息提示内容

The toast prompt content.

Defined in

api.d.ts:3969


timeout

Optional timeout: number

信息提示持续时间

The toast prompt close delay time in milliseconds. The default value is 3000ms.

Defined in

api.d.ts:3977