ConfirmObject
init
Creates a ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
text |
| true | The text for the confirm object. |
Return: The ConfirmObject
instance.
title
Sets the title for the ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
title |
| true | The title for the |
Return: The ConfirmObject
instance.
text
Sets the text for the ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
text |
| true | The text for the |
Return: The ConfirmObject
instance.
confirm
Sets the confirm button label for the ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
label |
| true | The confirm button label for the |
Return: The ConfirmObject
instance.
deny
Sets the deny button label for the ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
label |
| true | The deny button label for the |
Return: The ConfirmObject
instance.
danger
Marks the ConfirmObject
as dangerous.
Name | Type | Required | Default | Description |
---|---|---|---|---|
No arguments |
Return: The ConfirmObject
instance.
getMemento
Converts the ConfirmObject
instance to a serializable format.
Name | Type | Required | Default | Description |
---|---|---|---|---|
No arguments |
Return: (struct
) A struct representing this ConfirmObject
instance.
Last updated