datetimepicker.d.ts 709 B

12345678910111213141516171819202122232425
  1. /**
  2. * 日期时间控件 请求参数定义
  3. * @apiName biz.util.datetimepicker
  4. */
  5. export interface IBizUtilDatetimepickerParams {
  6. /** 日期和时间的格式 */
  7. format?: string;
  8. /** 默认显示日期和时间 */
  9. value?: string;
  10. }
  11. /**
  12. * 日期时间控件 返回结果定义
  13. * @apiName biz.util.datetimepicker
  14. */
  15. export interface IBizUtilDatetimepickerResult {
  16. /** 返回选择的日期和时间 */
  17. value: string;
  18. }
  19. /**
  20. * 日期时间控件
  21. * @apiName biz.util.datetimepicker
  22. * @supportVersion ios: 2.4.0 android: 2.4.0
  23. */
  24. export declare function datetimepicker$(params: IBizUtilDatetimepickerParams): Promise<IBizUtilDatetimepickerResult>;
  25. export default datetimepicker$;