Skip to content

createRequestUpdateAction

Function: createRequestUpdateAction()

taipy-gui JS module API


taipy-gui JS module API / createRequestUpdateAction

createRequestUpdateAction(id, context, names, forceRefresh, stateContext?): Action

Create a request update Action that will be used to update the Context.

This action will generate an update of the elements holding the variables named names on the front-end.

Parameters

id

The identifier of the visual element.

undefined | string

context

The execution context.

undefined | string

names

string[]

The names of the requested variables as received in updateVarName and/or updateVars properties.

forceRefresh

boolean = false

Should Taipy re-evaluate the variables or use the current values

stateContext?

Record\<string, unknown>

Returns

Action

The action fed to the reducer.