API reference for SfBadgeComponent

import {SfBadgeModule} from "@progress/sitefinity-component-framework";


selector: sf-badge

Implements

  • OnInit

Constructors

Properties

badgeCssClassList: string

The css class list of the badge

color: string

The background-color of the badge

content: string

The text in the badge

contentWrapper: any

Gets the content wrapper of the badge

hasIcon: boolean = false

Whether to display an icon

iconLook: string

Sets the css modifiers of the icon

iconName: string

The font awesome name of the icon without the fa- prefix

isAnimated: boolean = false

Whether to animate the text with floating animation

Accessors

  • get look(): string
  • Returns string

  • set look(value): void
  • Sets the css modifiers of the component

    Parameters

    • value: string

    Returns void

Methods

  • Generates the css of the badge

    Returns string

  • Returns void

Generated using TypeDoc