提交 803c507a 编写于 作者: shutao-dc's avatar shutao-dc

theme 添加 example标签

上级 12151692
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
<!-- UTSAPIJSON.setAppTheme.returnValue --> <!-- UTSAPIJSON.setAppTheme.returnValue -->
<!-- UTSCOMJSON.setAppTheme.example -->
<!-- UTSAPIJSON.setAppTheme.tutorial --> <!-- UTSAPIJSON.setAppTheme.tutorial -->
## uni.onOsThemeChange(callback) @onosthemechange ## uni.onOsThemeChange(callback) @onosthemechange
...@@ -20,6 +22,8 @@ ...@@ -20,6 +22,8 @@
<!-- UTSAPIJSON.onOsThemeChange.returnValue --> <!-- UTSAPIJSON.onOsThemeChange.returnValue -->
<!-- UTSCOMJSON.onOsThemeChange.example -->
<!-- UTSAPIJSON.onOsThemeChange.tutorial --> <!-- UTSAPIJSON.onOsThemeChange.tutorial -->
**注意:** **注意:**
...@@ -35,11 +39,9 @@ ...@@ -35,11 +39,9 @@
<!-- UTSAPIJSON.offOsThemeChange.returnValue --> <!-- UTSAPIJSON.offOsThemeChange.returnValue -->
<!-- UTSAPIJSON.offOsThemeChange.tutorial --> <!-- UTSCOMJSON.offOsThemeChange.example -->
**注意:**
+ android 平台 android版本 10 开始支持深色模式主题 `dark`,低于10不支持深色模式主题
<!-- UTSAPIJSON.offOsThemeChange.tutorial -->
## uni.onAppThemeChange(callback) @onappthemechange ## uni.onAppThemeChange(callback) @onappthemechange
...@@ -51,6 +53,8 @@ ...@@ -51,6 +53,8 @@
<!-- UTSAPIJSON.onAppThemeChange.returnValue --> <!-- UTSAPIJSON.onAppThemeChange.returnValue -->
<!-- UTSCOMJSON.onAppThemeChange.example -->
<!-- UTSAPIJSON.onAppThemeChange.tutorial --> <!-- UTSAPIJSON.onAppThemeChange.tutorial -->
## uni.offAppThemeChange(id) @offappthemechange ## uni.offAppThemeChange(id) @offappthemechange
...@@ -63,6 +67,8 @@ ...@@ -63,6 +67,8 @@
<!-- UTSAPIJSON.offAppThemeChange.returnValue --> <!-- UTSAPIJSON.offAppThemeChange.returnValue -->
<!-- UTSCOMJSON.offAppThemeChange.example -->
<!-- UTSAPIJSON.offAppThemeChange.tutorial --> <!-- UTSAPIJSON.offAppThemeChange.tutorial -->
<!-- UTSAPIJSON.general_type.name --> <!-- UTSAPIJSON.general_type.name -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册