BBASMPlugin+BackgroundStyle.h
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// BBASMPlugin+BackgroundStyle.h
// SWAN
//
// Created by baidu on 2018/12/17.
//
#import "BBASMPlugin.h"
@interface BBASMPlugin (BackgroundStyle)
/**
* 描 述: 动态设置窗口的背景色
* 示 例: baiduboxapp://swanAPI/setBackgroundColor?params={"backgroundColor":"#000000","backgroundColorTop":"#322222","backgroundColorBottom":"#233333"}&callback=__jsna_26
* 文 档: http://ft.baidu.com/#/scheme/swan_setbackgroundcolor
* 备 注:
* ********** description ************
* @name: setBackgroundColor
* @authority: swanAPI
* @path: /setBackgroundColor
* @args: [{"name":"backgroundColor","value":"string="},{"name":"backgroundColorTop","value":"string="},{"name":"backgroundColorBottom","value":"string="}]
* @config: {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
*/
- (void)setBackgroundColor:(BBASchemeDispatcher *)dispatcher;
/**
* 描 述: 动态设置下拉背景字体、loading 图的样式
* 示 例: baiduboxapp://swanAPI/setBackgroundTextStyle?params={"textStyle":"light"}&callback=__jsna_36
* 文 档: http://ft.baidu.com/#/scheme/swan_setbackgroundtextstyle
* 备 注:
* ********** description ************
* @name: setBackgroundTextStyle
* @authority: swanAPI
* @path: /setBackgroundTextStyle
* @args: [{"name": "textStyle", "value": "string"}]
* @config: {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
*/
- (void)setBackgroundTextStyle:(BBASchemeDispatcher *)dispatcher;
@end