Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SfBadgeComponent

API reference for SfBadgeComponent

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


selector: sf-badge

Hierarchy

  • SfBadgeComponent

Implements

  • OnInit

Index

Properties

Private _look

_look: string

Sets the css modifiers of the component

badgeCssClassList

badgeCssClassList: string

The css class list of the badge

color

color: string

The background-color of the badge

content

content: string

The text in the badge

contentWrapper

contentWrapper: any

Gets the content wrapper of the badge

hasIcon

hasIcon: boolean = false

Whether to display an icon

iconLook

iconLook: string

Sets the css modifiers of the icon

iconName

iconName: string

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

isAnimated

isAnimated: boolean = false

Whether to animate the text with floating animation

Accessors

look

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

    Returns string

  • Sets the css modifiers of the component

    Parameters

    • value: string

    Returns void

Methods

generateCssClassList

  • generateCssClassList(): string
  • Generates the css of the badge

    Returns string

ngOnInit

  • ngOnInit(): void
  • Returns void

Generated using TypeDoc