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) => unknown): this

Parameters:

Parameter Type Description
cb (value: string) => unknown

Returns: this

Since: 1.11.4