跳到主要内容

bn.hideTabBarRedDot

hideTabBarRedDot(options): Promise<{}>

description Hide a red dot in the upper right corner of an item in the tabBar

example

 bn.hideTabBarRedDot({
index: 0,
})

Parameters

NameType
optionsTabBarRedDotOptions

Returns

Promise<{}>


TabBarRedDotOptions

Ƭ TabBarRedDotOptions: Object

Type declaration

NameTypeDescription
indexnumberWhich item of the tabBar, counting from the left