コンストラクター
constructor
- new IgxIconService(_sanitizer, _httpClient, _platformUtil, _themeToken, _destroyRef, document): IgxIconService
パラメーター
_sanitizer: DomSanitizer
_httpClient: HttpClient
_platformUtil: PlatformUtil
_destroyRef: DestroyRef
document: Document
プロパティ
アクセサー
defaultFamily
- get defaultFamily(): IconFamily
- set defaultFamily(family): void
パラメーター
返却 void
メソッド
addIconRef
- addIconRef(name, family, icon): void
パラメーター
name: string
family: string
返却 void
addSvgIcon
- addSvgIcon(name, url, family?, stripMeta?): void
パラメーター
name: string
url: string
family: string = ...
stripMeta: boolean = false
返却 void
addSvgIconFromText
- addSvgIconFromText(name, iconText, family?, stripMeta?): void
パラメーター
name: string
iconText: string
family: string = ...
stripMeta: boolean = false
返却 void
familyClassName
- familyClassName(alias): string
パラメーター
返却 string
getIconRef
- getIconRef(name, family): IconReference
パラメーター
name: string
family: string
getSvgIcon
- getSvgIcon(name, family): SafeHtml
パラメーター
name: string
family: string
返却 SafeHtml
isSvgIconCached
- isSvgIconCached(name, family): boolean
パラメーター
name: string
family: string
返却 boolean
registerFamilyAlias
- registerFamilyAlias(alias, className?, type?): this
パラメーター
alias: string
className: string = alias
type: IconType = "font"
返却 this
setFamily
- setFamily(name, meta): void
パラメーター
返却 void
setIconRef
- setIconRef(name, family, icon): void
パラメーター
name: string
family: string
返却 void
Ignite UI for Angular Icon Service -
Ignite UI Icon Service は、カスタム SVG 画像を IgxIconComponent で使用できます。 指定した font-family に従って IgxIconComponent に適用されるカスタム クラスに関連付けするために使用できます。
例: