Interface IInputTextValidator
Package: @aurigma/design-atoms-text
Methods
validate(text)
Declaration
validate(text: string): boolean;
Parameters
Type | Name | Description |
---|---|---|
string | text |
Returns
Type | Description |
---|---|
boolean |
validateWithConfirmation(text)
Declaration
validateWithConfirmation(text: string): Promise<IInputTextValidatorResult>;
Parameters
Type | Name | Description |
---|---|---|
string | text |
Returns
Type | Description |
---|---|
Promise<IInputTextValidatorResult> |