Icon api
NbIconComponent
Inputs
Name | Type | Description |
icon | string | Icon name |
options | Additional icon settings | |
pack | string | Icon pack name |
status | NbComponentOrCustomStatus | Icon status (adds specific styles):
|
NbIconLibraries
Methods
Name | Description |
getFontIcon() | parameters: name: returns:string , pack: string NbIconDefinition
Returns Font icon |
getIcon() | parameters: name: returns:string , pack: string
Returns an icon |
getPack() | parameters: name: returns:string NbIconPack Returns pack by name |
getSvgIcon() | parameters: name: returns:string , pack: string
Returns Svg icon |
registerFontPack() | parameters: name: returns:string , params:
void Registers new font pack |
registerSvgPack() | parameters: name: returns:string , icons: NbIcons , params:
void Registers new Svg icon pack |
setDefaultPack() | parameters: name: returns:string void Sets pack as a default |
Previous page
Spinner
Next page
Need some help or found an issue?
Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.