class documentation

class ActionButton(BaseModel): (source)

View In Hierarchy

The data required for creating an actionButton in Vue.

Currently this cannot be used to submitData, or to submitOnEvent.

Class Variable action The name of the action to be triggered.
Class Variable button_primary Specify whether the button is styled as a primary button.
Class Variable can_terminate Specify whether the action can be terminated.
Class Variable confirmation_message The message for the confirmation modal.
Class Variable modal_progress Specify whether to show a progress modal.
Class Variable notify_on_success Specify whether to a notification on successful completion.
Class Variable poll_interval The interval for polling in seconds.
Class Variable requires_confirmation Specify whether a confirmation modal is needed.
Class Variable submit_label The label for the action button.
Class Variable success_message The message to show on successful completion.
Class Variable thing The Thing "path" for the Thing instance.
action: str = (source)

The name of the action to be triggered.

button_primary: bool = (source)

Specify whether the button is styled as a primary button.

can_terminate: bool = (source)

Specify whether the action can be terminated.

confirmation_message: str = (source)

The message for the confirmation modal.

modal_progress: bool = (source)

Specify whether to show a progress modal.

notify_on_success: bool = (source)

Specify whether to a notification on successful completion.

poll_interval: int = (source)

The interval for polling in seconds.

requires_confirmation: bool = (source)

Specify whether a confirmation modal is needed.

submit_label: str = (source)

The label for the action button.

success_message: str = (source)

The message to show on successful completion.

thing: str = (source)

The Thing "path" for the Thing instance.