Skip to content

Utils / Controller / useNodeStatus

Function: useNodeStatus() ​

ts
function useNodeStatus(node): object;

Node status helper: the text is followed by the time of the event, the fill is the one of the method.

Parameters ​

ParameterType

node

Node

Returns ​

object

NameType

error()

(text) => void

reset()

() => void

success()

(text) => void

warning()

(text) => void

Example ​

ts
const status = useNodeStatus(node);
status.success('Success'); // green "Success at 1/2/2026, 10:00:00 AM"
status.error('Invalid URL');
status.reset();

Version v2.5.0 - Built on 2026-11-20