ng-otp-input
Version:
A fully customizable, one-time password input component for the web built with Angular.
10 lines (9 loc) • 422 B
TypeScript
export declare class KeyboardUtil {
static ifTab(event: KeyboardEvent): boolean;
static ifDelete(event: KeyboardEvent): boolean;
static ifBackspace(event: KeyboardEvent): boolean;
static ifRightArrow(event: KeyboardEvent): boolean;
static ifLeftArrow(event: KeyboardEvent): boolean;
static ifSpacebar(event: KeyboardEvent): boolean;
static ifKey(event: KeyboardEvent, keys: string): boolean;
}