コンストラクタ
constructor
- new IgxIconService(_sanitizer: DomSanitizer, _httpClient: HttpClient, _platformUtil: PlatformUtil, _document: any): IgxIconService
-
パラメーター
-
_sanitizer: DomSanitizer
-
_httpClient: HttpClient
-
_platformUtil: PlatformUtil
-
_document: any
アクセサー
defaultFamily
- get defaultFamily(): string
-
返却 string
- set defaultFamily(className: string): void
-
パラメーター
返却 void
メソッド
addSvgIcon
- addSvgIcon(name: string, url: string, family?: string, stripMeta?: boolean): void
-
パラメーター
-
name: string
-
url: string
-
family: string = ...
-
stripMeta: boolean = false
返却 void
addSvgIconFromText
- addSvgIconFromText(name: string, iconText: string, family?: string, stripMeta?: boolean): void
-
パラメーター
-
name: string
-
iconText: string
-
family: string = ''
-
stripMeta: boolean = false
返却 void
familyClassName
- familyClassName(alias: string): string
-
パラメーター
返却 string
getSvgIcon
- getSvgIcon(name: string, family?: string): SafeHtml
-
パラメーター
-
name: string
-
family: string = ''
返却 SafeHtml
isSvgIconCached
- isSvgIconCached(name: string, family?: string): boolean
-
パラメーター
-
name: string
-
family: string = ''
返却 boolean
registerFamilyAlias
- registerFamilyAlias(alias: string, className?: string): IgxIconService
-
パラメーター
-
alias: string
-
className: string = alias
Ignite UI for Angular Icon サービス -
TIgnite UI Icon Service は、カスタム SVG 画像を IgxIconComponent で使用できます。 指定した font-family に従って IgxIconComponentに適用されるカスタム クラスに関連付けするために使用できます。
例: