|
@@ -1,14 +1,20 @@
|
1
|
1
|
class TopBar {
|
2
|
2
|
|
3
|
3
|
* @property {string} [title]
|
4
|
|
- * @property {color} [backgroundColor]
|
5
|
|
- * @property {color} [textColor]
|
|
4
|
+ * @property {string} [backgroundColor]
|
|
5
|
+ * @property {string} [textColor]
|
|
6
|
+ * @property {string} [buttonColor]
|
6
|
7
|
* @property {number} [textFontSize]
|
7
|
8
|
* @property {string} [textFontFamily]
|
|
9
|
+ * @property {string} [testID]
|
8
|
10
|
* @property {boolean} [hidden]
|
9
|
11
|
* @property {boolean} [animateHide]
|
10
|
12
|
* @property {boolean} [hideOnScroll]
|
11
|
13
|
* @property {boolean} [transparent]
|
|
14
|
+ * @property {boolean} [translucent]
|
|
15
|
+ * @property {boolean} [blur]
|
|
16
|
+ * @property {boolean} [noBorder]
|
|
17
|
+ * @property {boolean} [largeTitle]
|
12
|
18
|
*/
|
13
|
19
|
constructor(options) {
|
14
|
20
|
this.title = options.title;
|
|
@@ -20,6 +26,12 @@ class TopBar {
|
20
|
26
|
this.animateHide = options.animateHide;
|
21
|
27
|
this.hideOnScroll = options.hideOnScroll;
|
22
|
28
|
this.transparent = options.transparent;
|
|
29
|
+ this.translucent = options.translucent;
|
|
30
|
+ this.buttonColor = options.buttonColor;
|
|
31
|
+ this.blur = options.blur;
|
|
32
|
+ this.noBorder = options.noBorder;
|
|
33
|
+ this.largeTitle = options.largeTitle;
|
|
34
|
+ this.testID = options.testID;
|
23
|
35
|
}
|
24
|
36
|
}
|
25
|
37
|
|