calendar.d.ts 667 B

123456789101112131415161718192021222324
  1. /// <reference types="miniprogram-api-typings" />
  2. import { SuperComponent } from '../common/src/index';
  3. import { TdCalendarProps } from './type';
  4. export interface CalendarProps extends TdCalendarProps {
  5. }
  6. export default class Calendar extends SuperComponent {
  7. externalClasses: string[];
  8. options: WechatMiniprogram.Component.ComponentOptions;
  9. properties: TdCalendarProps;
  10. data: {
  11. prefix: string;
  12. name: string;
  13. months: any[];
  14. };
  15. lifetimes: {
  16. ready(): void;
  17. };
  18. methods: {
  19. calcMonths(): void;
  20. handleClose(): void;
  21. handleSelect(e: any): void;
  22. onTplButtonTap(): void;
  23. };
  24. }