Skip to content

SecretComponent.onChange method

SecretComponent › onChange

Official

Sets the callback function to be called when the value of the secret component changes.

Signature:

onChange(cb: (value: string | null) => unknown): this

Parameters:

ParameterTypeDescription
cb(value: string | null) => unknownthe callback function.

Returns: thisthe secret component instance.

Since: 1.11.4