mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-12-13 10:36:51 +00:00
cherry pick 38db164
from https://gitee.com/anluohan/interface_sdk-js/pulls/13735
fontsize Signed-off-by: zhuhan <2281542033@qq.com> Change-Id: I764bdac46adde40854dcdd494379bb2439829616
This commit is contained in:
parent
c76a5c3528
commit
1703fd3cd7
11
api/application/ApplicationContext.d.ts
vendored
11
api/application/ApplicationContext.d.ts
vendored
@ -539,4 +539,15 @@ export default class ApplicationContext extends Context {
|
||||
* @since 12
|
||||
*/
|
||||
getCurrentAppCloneIndex(): number;
|
||||
|
||||
/**
|
||||
* Set font size scale.
|
||||
* @param {number} fontSizeScale - Font size scale.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified.
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @atomicservice
|
||||
* @since 13
|
||||
*/
|
||||
setFontSizeScale(fontSizeScale: number): void;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user