diff --git a/docs/next/statusbar.html b/docs/next/statusbar.html index 66e7877878d..04a2f985add 100644 --- a/docs/next/statusbar.html +++ b/docs/next/statusbar.html @@ -88,25 +88,28 @@
animatedbackgroundColorbarStylehiddenbackgroundColortranslucentnetworkActivityIndicatorVisibleshowHideTransitiontranslucentsetHiddensetBarStylesetNetworkActivityIndicatorVisiblepopStackEntrypushStackEntryreplaceStackEntrysetBackgroundColorsetBarStylesetHiddensetNetworkActivityIndicatorVisiblesetTranslucentbackgroundColorThe background color of the status bar.
+| Type | Required | Platform |
|---|---|---|
| color | No | Android |
barStyleSets the color of the status bar text.
backgroundColorThe background color of the status bar.
-| Type | Required | Platform |
|---|---|---|
| color | No | Android |
translucentIf the status bar is translucent. When translucent is set to true, the app will draw under the status bar. This is useful when using a semi transparent status bar color.
-| Type | Required | Platform |
|---|---|---|
| bool | No | Android |
networkActivityIndicatorVisibleIf the network activity indicator should be visible.
| enum('fade', 'slide') | No | iOS |
translucentIf the status bar is translucent. When translucent is set to true, the app will draw under the status bar. This is useful when using a semi transparent status bar color.
+| Type | Required | Platform |
|---|---|---|
| bool | No | Android |
setHidden()static setHidden(hidden: boolean, [animation]: StatusBarAnimation)
+popStackEntry()
+static popStackEntry(entry: any)
-Show or hide the status bar
+Pop a StatusBar entry from the stack.
Parameters:
Name Type Required Description
-hidden boolean Yes Hide the status bar.
-animation StatusBarAnimation No Optional animation when changing the status bar hidden property.
+entry any Yes Entry returned from pushStackEntry.
-setBarStyle()
-static setBarStyle(style: StatusBarStyle, [animated]: boolean)
+pushStackEntry()
+static pushStackEntry(props: any)
-Set the status bar style
+Push a StatusBar entry onto the stack. The return value should be passed to popStackEntry when complete.
Parameters:
Name Type Required Description
-style StatusBarStyle Yes Status bar style to set
-animated boolean No Animate the style change.
+props any Yes Object containing the StatusBar props to use in the stack entry.
-setNetworkActivityIndicatorVisible()
-static setNetworkActivityIndicatorVisible(visible: boolean)
+replaceStackEntry()
+static replaceStackEntry(entry: any, props: any)
-Control the visibility of the network activity indicator. iOS-only.
+Replace an existing StatusBar stack entry with new props.
Parameters:
Name Type Required Description
-visible boolean Yes Show the indicator.
+entry any Yes Entry returned from pushStackEntry to replace.
+props any Yes Object containing the StatusBar props to use in the replacement stack entry.
@@ -247,6 +249,50 @@
+setBarStyle()
+static setBarStyle(style: StatusBarStyle, [animated]: boolean)
+
+Set the status bar style
+Parameters:
+
+
+Name Type Required Description
+
+
+style StatusBarStyle Yes Status bar style to set
+animated boolean No Animate the style change.
+
+
+
+setHidden()
+static setHidden(hidden: boolean, [animation]: StatusBarAnimation)
+
+Show or hide the status bar
+Parameters:
+
+
+Name Type Required Description
+
+
+hidden boolean Yes Hide the status bar.
+animation StatusBarAnimation No Optional animation when changing the status bar hidden property.
+
+
+
+setNetworkActivityIndicatorVisible()
+static setNetworkActivityIndicatorVisible(visible: boolean)
+
+Control the visibility of the network activity indicator. iOS-only.
+Parameters:
+
+
+Name Type Required Description
+
+
+visible boolean Yes Show the indicator.
+
+
+
setTranslucent()
static setTranslucent(translucent: boolean)
@@ -261,28 +307,6 @@
Type Definitions
-StatusBarStyle
-Status bar style
-
-
-Type
-
-
-$Enum
-
-
-Constants:
-
-
-Value Description
-
-
-default Default status bar style (dark for iOS, light for Android)
-light-content Dark background, white texts and icons
-dark-content Light background, dark texts and icons (requires API>=23 on Android)
-
-
-
StatusBarAnimation
Status bar animation
@@ -304,6 +328,28 @@
slide Slide animation
+
+StatusBarStyle
+Status bar style
+
+
+Type
+
+
+$Enum
+
+
+Constants:
+
+
+Value Description
+
+
+default Default status bar style (dark for iOS, light for Android)
+light-content Dark background, white texts and icons
+dark-content Light background, dark texts and icons (requires API>=23 on Android)
+
+