zhizhi/node_modules/dingtalk-jsapi/api/biz/calendar/chooseHalfDay.d.ts

25 lines
875 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 唤起月历组件,并选择其中半天 请求参数定义
* @apiName biz.calendar.chooseHalfDay
*/
export interface IBizCalendarChooseHalfDayParams {
default?: number;
}
/**
* 唤起月历组件,并选择其中半天 返回结果定义
* @apiName biz.calendar.chooseHalfDay
*/
export interface IBizCalendarChooseHalfDayResult {
/** 时间戳如果用户选择上午则为当日0点的时间如果是下午则为当日12点的时间单位为毫秒ms */
chosen: number;
/** 整型,用户当前所在时区 */
timezone: number;
}
/**
* 唤起月历组件,并选择其中半天
* @apiName biz.calendar.chooseHalfDay
* @supportVersion ios: 3.5.0 android: 3.5.0
*/
export declare function chooseHalfDay$(params: IBizCalendarChooseHalfDayParams): Promise<IBizCalendarChooseHalfDayResult>;
export default chooseHalfDay$;