Skip to main content

EchoLabel

EchoLabel[label_][expr_]

is operator form of Echo with a label. In WLJS it has extended properties, which allows user programs to various push notifications:

EchoLabel["Test"]["This is normal one"];

Print to notifications:

EchoLabel["Notification"]["This will always appear at the top"];

Warning messages:

EchoLabel["Warning"]["This will a warning"];

Error message:

EchoLabel["Error"]["This will an error"];

Spinner:

spinner = EchoLabel["Spinner"]["Hey. I am spinning"];
spinner["Cancel"]; 

Progress bar:

bar = EchoLabel["ProgressBar"]["I am progressing"];
bar["Set", 0.5];
bar["SetMessage", "Hey!"];
bar["Cancel"];