commonUtils.d.ts 572 B

12345678
  1. export declare function hasPrefixSuffix(propsAndSlots: any): number | boolean;
  2. export declare function hasAddon(propsAndSlots: any): number | boolean;
  3. export declare function fixControlledValue(value: string | number): string;
  4. export declare function resolveOnChange(target: HTMLInputElement, e: Event, onChange: Function, targetValue?: string): void;
  5. export interface InputFocusOptions extends FocusOptions {
  6. cursor?: 'start' | 'end' | 'all';
  7. }
  8. export declare function triggerFocus(element?: HTMLInputElement | HTMLTextAreaElement, option?: InputFocusOptions): void;