File

src/app/components/badge/badge.component.ts

Description

Badge component.

Metadata

Index

Methods
Inputs
Accessors

Constructor

constructor(uiService: UiService)

Constructs the badge component.

Parameters :
Name Type Optional Description
uiService UiService No

The ui service injected dependency.

Inputs

key
Type : Badge

The component key setter

replacementMap
Type : Indexable<string>

The replacement map setter

Methods

Public linkLabel
linkLabel(key: string | undefined)

Link label delegate.

Parameters :
Name Type Optional
key string | undefined No
Returns : string
Public preprocessUrl
preprocessUrl(url: string)

Preprocess url.

Parameters :
Name Type Optional
url string No
Returns : string
Public productionReady
productionReady(key?: string)

Production ready predicate.

Parameters :
Name Type Optional
key string Yes
Returns : boolean
Public uiText
uiText(key: string)

UI safe text delegate.

Parameters :
Name Type Optional
key string No
Returns : string

Accessors

key
getkey()

The component key getter

setkey(value)

The component key setter

Parameters :
Name Optional
value No
Returns : void
replacementMap
getreplacementMap()

The replacement map getter

setreplacementMap(value: Indexable<string>)

The replacement map setter

Parameters :
Name Type Optional
value Indexable<string> No
Returns : void

./badge.component.scss

@use "../stylesheets/stylesheets.component.scss";
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""