datepicker.d.ts 786 B

1234567891011121314151617181920212223242526
  1. /**
  2. * 日期选择器 请求参数定义
  3. * @apiName biz.util.datepicker
  4. */
  5. export interface IBizUtilDatepickerParams {
  6. /** format只支持android系统规范,即2015-03-31格式为yyyy-MM-dd */
  7. format?: string;
  8. /** 默认显示日期 */
  9. value?: string;
  10. }
  11. /**
  12. * 日期选择器 返回结果定义
  13. * @apiName biz.util.datepicker
  14. */
  15. export interface IBizUtilDatepickerResult {
  16. /** 返回选择的日期 */
  17. value: string;
  18. }
  19. /**
  20. * 日期选择器
  21. * @description 注意:format只支持android系统规范,即2015-03-31格式为yyyy-MM-dd
  22. * @apiName biz.util.datepicker
  23. * @supportVersion ios: 2.4.0 android: 2.4.0
  24. */
  25. export declare function datepicker$(params: IBizUtilDatepickerParams): Promise<IBizUtilDatepickerResult>;
  26. export default datepicker$;