latest
InputMan Interface ToastNotifyConfig InputmanJS API インターフェイス

ToastNotifyConfig インターフェイス

トースト通知の設定情報を定義します。

階層

  • ToastNotifyConfig

プロパティ

オプション className

className: string

トースト要素にカスタムクラス名を追加します。

オプション duration

duration: number

トーストの表示時間(秒単位)。

オプション pauseOnHover

pauseOnHover: boolean

マウスがトースト通知にホバーした際に一時停止するかどうか。

オプション position

position: ToastPosition

トーストの表示位置。

オプション showClose

showClose: boolean

閉じるボタンを表示するかどうか。

オプション showProgress

showProgress: boolean

プログレスバーを表示するかどうか。

オプション template

template: (context: ToastTemplateContext): HTMLElement

カスタムテンプレート。

型宣言

オプション title

title: string

トーストのタイトル。