# GraffitiAlertButton
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | buttonName as String <br> buttonCaption as String <br> buttonIcon as String = "" <br> buttonStyle as GraffitiStyle = Nil | (None) | Creates a new instance of the class. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Caption | String | Nil | Caption to display on the button. |
| Default | Boolean | False | When True, pressing the Enter key on a WebAlert dismisses it and returns this button as the one clicked. |
| Icon | String | Nil | Icon to display within the button, to the left of the caption. Requires a FontAwesome 5 identifier, IE : fas fa-times . |
| ID | String | Nil | |
| Indicator | WebUIControl.Indicators | Nil | Bootstrap indicator to apply to the button. |
| Name | String | Nil | A unique name. |
| Style | GraffitiStyle | Nil | GraffitiStyle to apply to the button. |
| Tag | Variant | Nil | Developer storage. |