We found 13 matches for: state

An overview of all state blocks currently available, updated daily!

state: ui: close contextmenu

Close the currently open contextmenu, if any open

In-pins

flow

Out-pins

flow
state event: on contextmenu

Event is executed when the state receives an contextmenu request.

Out-pins

flow
position y
The top/y-level position of the context menu
position x
The right/x-level position of the context menu
options
Contains list of items the UI requested to make visible within the context menu
state: run js function

In-pins

flow
name
value
context

Out-pins

flow
state event: on modal close

Event is executed when the state receives an event relevant update.

Out-pins

flow
state: play audio

Plays the given audio file in the users browser

In-pins

flow
url
The (whitelisted) URL of the Audio track you want to play
volume percentage
The volume you would like to play this sound at (0% - 100%)

Default:
100

Out-pins

flow
state: set cookie

In-pins

flow
name
value
path
Path to be used as cookie.

Default:
/
duration
Seconds this cookie should be alive.

Default:
3600

Out-pins

flow
state: unsubscribe

In-pins

flow
channels

Out-pins

flow
state: ui: copy to clipboard

Copies the given text to the users clipboard

In-pins

flow
text
The text to be copied to clipboard

Out-pins

flow
state event: on page load

Event is executed when the state receives an event relevant update.

Out-pins

flow
state: switch

Returns state based of the given expression.

In-pins

expression
The expression to evaluate.
default
The default statement to be executed.

Out-pins

output
Returns the state matching the expression.
match
Returns true in case a match was found.
state: text to speech

Uses browsers text-to-speech to output a certain text in voice

In-pins

flow
voice
The language you would like to speak in (e.g. nl-NL, nl-BE, en-US etc)
text
The text it should speak
pitch
Amount of pitch (0-2)

Default:
1
rate
Rate of speech (0.5 - 2)

Default:
1

Out-pins

flow
state: set access token

In-pins

flow
value
path
Path to be used as cookie.

Default:
/
duration
Seconds this cookie should be alive.

Default:
3600

Out-pins

flow
state: subscribe

In-pins

flow
channels
Function
Event
Message

Out-pins

flow
on broadcast
Event
Message