We found 6 matches for: State UI: getters

An overview of all State UI: getters blocks currently available, updated daily!

state: get key

Get given key from the current UI state.

In-pins

field
The name of field to grab from the current UI state. Can be deep-key (e.g. form.name)
state: is left clicked

Checks if the given field is clicked within the UI state.

In-pins

state key
The state key of the button that may be leftclicked on.

Out-pins

condition
Returns true if the given field is true, "true", 1 or "1".
state: get uploaded file

Get a recently uploaded file. The file is stored on a temp. dir, move it if you want to keep it.

In-pins

form (optional)
If the file is part of a form, provide the form id.

Out-pins

file
File succesfully uploaded
success
Returns true if a file was found.
filename
Original file name given when uploaded
mimetype
Original file mimetype given when uploaded
size
Original file size given when uploaded
state: is true

Checks if the given field is true.

Out-pins

condition
Returns true if the given field is true.
state: is empty

Checks if the given field is empty.

Out-pins

condition
Returns true if the given field is empty.
state: get fields

Get given field(s) from the current UI state.