src/app/components/badge/badge.component.ts
Badge component.
selector | app-badge |
styleUrls | ./badge.component.scss |
templateUrl | ./badge.component.html |
Methods |
|
Inputs |
Accessors |
constructor(uiService: UiService)
|
||||||||
Constructs the badge component.
Parameters :
|
key |
Type : Badge
|
The component key setter |
replacementMap |
Type : Indexable<string>
|
The replacement map setter |
Public linkLabel | ||||||
linkLabel(key: string | undefined)
|
||||||
Link label delegate.
Parameters :
Returns :
string
|
Public preprocessUrl | ||||||
preprocessUrl(url: string)
|
||||||
Preprocess url.
Parameters :
Returns :
string
|
Public productionReady | ||||||
productionReady(key?: string)
|
||||||
Production ready predicate.
Parameters :
Returns :
boolean
|
Public uiText | ||||||
uiText(key: string)
|
||||||
UI safe text delegate.
Parameters :
Returns :
string
|
key | ||||
getkey()
|
||||
The component key getter |
||||
setkey(value)
|
||||
The component key setter
Parameters :
Returns :
void
|
replacementMap | ||||||
getreplacementMap()
|
||||||
The replacement map getter |
||||||
setreplacementMap(value: Indexable<string>)
|
||||||
The replacement map setter
Parameters :
Returns :
void
|
./badge.component.scss
@use "../stylesheets/stylesheets.component.scss";