提交 db76bdce 编写于 作者: LXH_1129's avatar LXH_1129

feat(api): theme change

上级 a1f183d4
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -121,6 +121,62 @@ uni.offOsThemeChange(callbackId) ...@@ -121,6 +121,62 @@ uni.offOsThemeChange(callbackId)
<!-- UTSAPIJSON.offOsThemeChange.example --> <!-- UTSAPIJSON.offOsThemeChange.example -->
## uni.onHostThemeChange(callback) @onhostthemechange
<!-- UTSAPIJSON.onHostThemeChange.description -->
<!-- UTSAPIJSON.onHostThemeChange.compatibility -->
<!-- UTSAPIJSON.onHostThemeChange.param -->
<!-- UTSAPIJSON.onHostThemeChange.returnValue -->
<!-- UTSAPIJSON.onHostThemeChange.tutorial -->
<!-- UTSAPIJSON.onHostThemeChange.example -->
## uni.offHostThemeChange(id) @offhostthemechange
<!-- UTSAPIJSON.offHostThemeChange.description -->
<!-- UTSAPIJSON.offHostThemeChange.compatibility -->
<!-- UTSAPIJSON.offHostThemeChange.param -->
<!-- UTSAPIJSON.offHostThemeChange.returnValue -->
<!-- UTSAPIJSON.offHostThemeChange.tutorial -->
<!-- UTSAPIJSON.offHostThemeChange.example -->
<!-- UTSAPIJSON.onThemeChange.name -->
<!-- UTSAPIJSON.onThemeChange.description -->
<!-- UTSAPIJSON.onThemeChange.compatibility -->
<!-- UTSAPIJSON.onThemeChange.param -->
<!-- UTSAPIJSON.onThemeChange.returnValue -->
<!-- UTSAPIJSON.onThemeChange.tutorial -->
<!-- UTSAPIJSON.onThemeChange.example -->
<!-- UTSAPIJSON.offThemeChange.name -->
<!-- UTSAPIJSON.offThemeChange.description -->
<!-- UTSAPIJSON.offThemeChange.compatibility -->
<!-- UTSAPIJSON.offThemeChange.param -->
<!-- UTSAPIJSON.offThemeChange.returnValue -->
<!-- UTSAPIJSON.offThemeChange.tutorial -->
<!-- UTSAPIJSON.offThemeChange.example -->
<!-- UTSAPIJSON.general_type.name --> <!-- UTSAPIJSON.general_type.name -->
<!-- UTSAPIJSON.general_type.param --> <!-- UTSAPIJSON.general_type.param -->
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册