Block: SnackBar

The SnackBar block is used to display short updates about solution processes at the bottom of the screen.

SnackBarConfig

Snackbars provide brief messages about the status of a process (e.g. a Model) at the bottom of the screen.

Name Type Required Description
kind "SnackBar" Yes
subscribe List<SnackBarModelSubscribe> No Subscribe the SnackBar block to other blocks.

SnackBarModelSubscribe

Show a brief messages based on the status of a Model.

Name Type Required Description
kind "Model" Yes
frame string Yes The name of the frame in which the Model is located.
source string Yes The name of the Model''
onStatus "success" | "computing" | "error" No The Model status for the specified message. Allowed statuses are: success, computing and error.
message SnackBarStaticMessage Yes The message for the specified Model status.

SnackBarStaticMessage

The SnackBar message for the specified Model status.

Name Type Required Description
kind "StaticMessage" Yes The message type. Allowed options are: StaticMessage.
message string Yes The text shown in the snack bar for the corresponding status.