bn.showTabBarRedDot
▸ showTabBarRedDot(options
): Promise
<{}>
description
Show a red dot in the upper right corner of an item in the tabBar
example
bn.showTabBarRedDot({
index: 0,
})
Parameters
Name | Type |
---|---|
options | TabBarRedDotOptions |
Returns
Promise
<{}>
TabBarRedDotOptions
Ƭ TabBarRedDotOptions: Object
Type declaration
Name | Type | Description |
---|---|---|
index | number | Which item of the tabBar, counting from the left |