-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathicon.json
More file actions
44 lines (44 loc) · 1.81 KB
/
icon.json
File metadata and controls
44 lines (44 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"componentList": [],
"directiveList": [
{
"name": "LyIcon",
"selector": "'ly-icon'",
"inputs": "[\n \"bg\",\n \"color\",\n \"raised\",\n \"outlined\",\n \"elevation\",\n \"shadowColor\"\n]",
"exportAs": "",
"children": "@Input() fontIcon: string\n@Input() fontSet: string\n@Input() icon: string"
}
],
"variableList": [
{
"name": "STYLE_PRIORITY",
"children": "const STYLE_PRIORITY = -2"
},
{
"name": "STYLE_PRIORITY",
"children": "const STYLE_PRIORITY = -2"
}
],
"ngModuleList": [
{
"name": "LyIconModule",
"children": "import { LyIconModule } from '@alyle/ui/icon'"
}
],
"injectableList": [
{
"name": "LyIconService",
"children": "@Injectable({\n providedIn: 'root'\n})\nclass LyIconService {\n defaultSvgIcon: SVGElement\n defaultClass: undefined | string\n defaultClassPrefix: undefined | string\n addSvgIconLiteral(key: string, literal: SafeHtml): void\n getFontClass(key: string): void\n getSvg(key: string): void\n /**\n * Register new font class alias\n * demo:\n * For FontAwesome\n * registerFontClass({\n * key: 'fa',\n * class: 'fa'\n * prefix: 'fa-'\n * })\n */\n registerFontClass(opt: FontClassOptions): void\n /** Set default className for `ly-icon` */\n setDefaultClass(className?: undefined | string, prefix?: undefined | string): void\n setSvg(key: string, url: SafeResourceUrl): void\n}"
}
],
"interfaceList": [
{
"name": "FontClassOptions",
"children": "interface FontClassOptions {\n /** Class name */\n class: undefined | string,\n key: string,\n /** Frefix class */\n prefix: undefined | string\n}"
},
{
"name": "SvgIcon",
"children": "interface SvgIcon {\n obs: Observable,\n svg: SVGElement\n}"
}
]
}