Skip to main content

restoreAction()

Last updated 10/02/2025

The

restoreAction()
is a function on the
Five
object that restores a selected or replaced action to it's original state. This will restore selected actions by default, however, by setting the
revertSelect
parameter to
false
, you can restore replaced actions in a dashboard.


info
You can find an example on
restoreAction()
in our How to Guides.

Available

Client

Function Signature
restoreAction(revertSelect: boolean = true) : void;

ParameterTypeDescription
revertSelect
booleanIf true, will restore selected actions, otherwise, it will restore replaced actions.

Examples

restoreAction()