picker.d.ts 872 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { SuperComponent } from '../common/src/index';
  2. export default class Picker extends SuperComponent {
  3. /**
  4. * Component properties
  5. */
  6. properties: import("./type").TdPickerProps;
  7. externalClasses: string[];
  8. options: {
  9. multipleSlots: boolean;
  10. };
  11. relations: {
  12. './picker-column': {
  13. type: "child";
  14. };
  15. };
  16. /**
  17. * Component initial data
  18. */
  19. data: {
  20. classPrefix: string;
  21. };
  22. /**
  23. * Component methods
  24. */
  25. methods: {
  26. getPickerColumns(): any[];
  27. getSelectedValues(): {
  28. index: any;
  29. value: any;
  30. };
  31. onConfirm(): void;
  32. onCancel(): void;
  33. triggerChange({ column, index, value }: {
  34. column: any;
  35. index: any;
  36. value: any;
  37. }): void;
  38. };
  39. ready(): void;
  40. }