Hierarchy

  • INativeComponent
    • IBadge

Properties

nativeObject: { [key: string]: any }

Type declaration

  • [key: string]: any
text: string

Gets/sets text of badge.

Property

Android

Ios

Since

3.1.0

visible: boolean

Gets/sets visible of badge.

Property

= false]

Android

Ios

Since

3.1.0

backgroundColor: null | IColor

Gets/sets backgroundColor of badge.

Property

Android

Ios

Since

3.1.0

textColor: null | ViewState<IColor>

Gets/sets textColor of badge.

Property

Android

Ios

Since

3.1.0

font: null | IFont

Gets/sets font of badge.

Property

Android

Ios

Since

3.1.0

borderColor: null | IColor

Gets/sets border color of badge.

Property

Android

Ios

Since

3.1.0

borderWidth: number

Gets/sets border width of badge.

Property

Android

Ios

Since

3.1.0

Methods

  • Set Badge offset, Badge center point defaults to the top right corner of its parent. When using badge in tab bar items, this method must be implement at the initialize time.

    Method

    move

    Android

    Ios

    Since

    3.0.0

    Parameters

    • x: number
    • y: number

    Returns void

Generated using TypeDoc