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

theme 添加 example标签

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