theme.md 1.5 KB
Newer Older
D
DCloud_LXH 已提交
1 2 3 4
## uni.setAppTheme(options) @setapptheme

<!-- UTSAPIJSON.setAppTheme.description -->

DCloud_iOS_XHY's avatar
DCloud_iOS_XHY 已提交
5 6
<!-- UTSAPIJSON.setAppTheme.compatibility -->

D
DCloud_LXH 已提交
7 8 9 10 11 12 13 14 15 16
<!-- UTSAPIJSON.setAppTheme.param -->

<!-- UTSAPIJSON.setAppTheme.returnValue -->

<!-- UTSAPIJSON.setAppTheme.tutorial -->

## uni.onOsThemeChange(callback) @onosthemechange

<!-- UTSAPIJSON.onOsThemeChange.description -->

DCloud_iOS_XHY's avatar
DCloud_iOS_XHY 已提交
17 18
<!-- UTSAPIJSON.onOsThemeChange.compatibility -->

D
DCloud_LXH 已提交
19 20 21 22 23 24 25 26 27 28
<!-- UTSAPIJSON.onOsThemeChange.param -->

<!-- UTSAPIJSON.onOsThemeChange.returnValue -->

<!-- UTSAPIJSON.onOsThemeChange.tutorial -->

## uni.offOsThemeChange(id) @offosthemechange

<!-- UTSAPIJSON.offOsThemeChange.description -->

DCloud_iOS_XHY's avatar
DCloud_iOS_XHY 已提交
29 30
<!-- UTSAPIJSON.offOsThemeChange.compatibility -->

D
DCloud_LXH 已提交
31 32 33 34 35 36 37 38 39 40
<!-- UTSAPIJSON.offOsThemeChange.param -->

<!-- UTSAPIJSON.offOsThemeChange.returnValue -->

<!-- UTSAPIJSON.offOsThemeChange.tutorial -->

## uni.onAppThemeChange(callback) @onappthemechange

<!-- UTSAPIJSON.onAppThemeChange.description -->

DCloud_iOS_XHY's avatar
DCloud_iOS_XHY 已提交
41 42
<!-- UTSAPIJSON.onAppThemeChange.compatibility -->

D
DCloud_LXH 已提交
43 44 45 46 47 48 49 50 51 52
<!-- UTSAPIJSON.onAppThemeChange.param -->

<!-- UTSAPIJSON.onAppThemeChange.returnValue -->

<!-- UTSAPIJSON.onAppThemeChange.tutorial -->

## uni.offAppThemeChange(id) @offappthemechange

<!-- UTSAPIJSON.offAppThemeChange.description -->

DCloud_iOS_XHY's avatar
DCloud_iOS_XHY 已提交
53 54
<!-- UTSAPIJSON.offAppThemeChange.compatibility -->

D
DCloud_LXH 已提交
55 56 57 58 59 60 61 62
<!-- UTSAPIJSON.offAppThemeChange.param -->

<!-- UTSAPIJSON.offAppThemeChange.returnValue -->

<!-- UTSAPIJSON.offAppThemeChange.tutorial -->

<!-- UTSAPIJSON.general_type.name -->

DCloud_iOS_XHY's avatar
DCloud_iOS_XHY 已提交
63
<!-- UTSAPIJSON.general_type.param -->