zhizhi/node_modules/dingtalk-jsapi/api/biz/navigation/setTitle.d.ts

27 lines
849 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.

/**
* 弹窗alert 请求参数定义
* @apiName biz.navigation.setTitle
*/
export interface IBizNavigationSetTitleParams {
/** 控制标题文本,空字符串表示显示默认文本 */
title?: string;
/** 副标题 */
subTitle?: string;
}
/**
* 弹窗alert 返回结果定义
* @apiName biz.navigation.setTitle
*/
export interface IBizNavigationSetTitleResult {
}
/**
* 设置导航栏标题
* 此JSAPI在iOS和Android上的显示有所不同
* IOS根据iOS的设计规范iOS的标题在导航栏正中央
* Android根据Android的设计规范标题显示在导航栏左侧
* @apiName biz.navigation.setTitle
* @supportVersion pc: 2.5.0 ios: 2.4.0 android: 2.4.0
*/
export declare function setTitle$(params: IBizNavigationSetTitleParams): Promise<IBizNavigationSetTitleResult>;
export default setTitle$;