input.d.ts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import { SuperComponent } from '../common/src/index';
  2. export default class Input extends SuperComponent {
  3. options: {
  4. multipleSlots: boolean;
  5. };
  6. externalClasses: string[];
  7. behaviors: string[];
  8. properties: import("./type").TdInputProps;
  9. data: {
  10. prefix: string;
  11. classPrefix: string;
  12. classBasePrefix: string;
  13. showClearIcon: boolean;
  14. };
  15. lifetimes: {
  16. ready(): void;
  17. };
  18. observers: {
  19. prefixIcon(v: any): void;
  20. suffixIcon(v: any): void;
  21. clearable(v: any): void;
  22. 'clearTrigger, clearable, disabled, readonly'(): void;
  23. };
  24. methods: {
  25. updateValue(value: any): void;
  26. updateClearIconVisible(value?: boolean): void;
  27. onInput(e: any): void;
  28. onFocus(e: any): void;
  29. onBlur(e: any): void;
  30. onConfirm(e: any): void;
  31. onSuffixClick(): void;
  32. onSuffixIconClick(): void;
  33. clearInput(e: any): void;
  34. onKeyboardHeightChange(e: any): void;
  35. onNickNameReview(e: any): void;
  36. };
  37. }