ion-alert
Properties
animated
| Description | trueの場合、アラートはアニメーションで表示されます。 |
| Attribute | animated |
| Type | boolean |
| Default | true |
backdropDismiss
| Description | trueの場合、バックドロップがクリックされるとアラートが解除される。 |
| Attribute | backdrop-dismiss |
| Type | boolean |
| Default | true |
buttons
| Description | アラートに追加されるボタンの配列。 |
| Attribute | buttons |
| Type | (string | AlertButton)[] |
| Default | [] |
cssClass
| Description | カスタムCSSに適用する追加のクラス。複数のクラスを指定する場合は、スペースで区切る必要があります。 |
| Attribute | css-class |
| Type | string | string[] | undefined |
| Default | undefined |
enterAnimation
| Description | アラート提示時に使用するアニメーションです。 |
| Attribute | enter-animation |
| Type | ((baseEl: any, opts?: any) => Animation) | undefined |
| Default | undefined |
header
| Description | アラートの見出しにあるメインタイトルです。 |
| Attribute | header |
| Type | string | undefined |
| Default | undefined |
htmlAttributes
| Description | アラートに渡す追加属性。 |
| Attribute | html-attributes |
| Type | undefined | { [key: string]: any; } |
| Default | undefined |
inputs
| Description | アラートに表示するInputの配列。 |
| Attribute | inputs |
| Type | AlertInput[] |
| Default | [] |
isOpen
| Description | trueの場合、アラートは開く。もし false ならば、アラートは閉じます。alertControllerやtriggerプロパティを使用してください。注意: アラートが終了しても isOpen は自動的に false に戻りません。あなたのコードでそれを行う必要があります。 |
| Attribute | is-open |
| Type | boolean |
| Default | false |
keyboardClose
| Description | trueの場合、オーバーレイが表示されたときにキーボードが自動的に解除されます。 |
| Attribute | keyboard-close |
| Type | boolean |
| Default | true |