picker-options.d.ts 780B

123456789101112131415161718192021222324252627282930
  1. export interface PickerOptions {
  2. buttons?: any[];
  3. columns?: PickerColumn[];
  4. cssClass?: string;
  5. enableBackdropDismiss?: boolean;
  6. }
  7. export interface PickerColumn {
  8. name?: string;
  9. align?: string;
  10. selectedIndex?: number;
  11. prevSelected?: number;
  12. prefix?: string;
  13. suffix?: string;
  14. options?: PickerColumnOption[];
  15. cssClass?: string;
  16. columnWidth?: string;
  17. prefixWidth?: string;
  18. suffixWidth?: string;
  19. optionsWidth?: string;
  20. }
  21. export interface PickerColumnOption {
  22. text?: string;
  23. value?: any;
  24. disabled?: boolean;
  25. }
  26. export declare const PICKER_OPT_SELECTED = "picker-opt-selected";
  27. export declare const DECELERATION_FRICTION = 0.97;
  28. export declare const FRAME_MS: number;
  29. export declare const MAX_PICKER_SPEED = 60;