ion-toast
Properties
animated
| Description | trueの場合、トーストはアニメーションします。 |
| Attribute | animated |
| Type | boolean |
| Default | true |
buttons
| Description | トースト用のボタンがずらり。 |
| Attribute | buttons |
| Type | (string | ToastButton)[] | undefined |
| Default | undefined |
color
| Description | アプリケーションのカラーパレットから使用する色を指定します。デフォルトのオプションは以下の通りです。 "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", と "dark" です.色に関する詳しい情報は theming を参照してください。 |
| Attribute | color |
| Type | "danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string & Record<never, never> | undefined |
| Default | undefined |
cssClass
| Description | カスタムCSSに適用する追加のクラス。複数のクラスを指定する場合は、スペースで区切る必要があります。 |
| Attribute | css-class |
| Type | string | string[] | undefined |
| Default | undefined |
duration
| Description | トーストを隠すまでに何ミリ秒待つかを指定します。デフォルトでは、dismiss()が呼ばれるまで表示されます。 |
| Attribute | duration |
| Type | number |
| Default | config.getNumber('toastDuration', 0) |
enterAnimation
| Description | 乾杯の音頭をとるときに使うアニメーションです。 |
| Attribute | enter-animation |
| Type | ((baseEl: any, opts?: any) => Animation) | undefined |
| Default | undefined |