Icon
ui.Icon
constructor
new Icon(): Icon
Returns
exists
exists(name
): boolean
Check if icon exist in store
Parameters
Name | Type |
---|---|
name |
string |
Returns
boolean
Defined in
get
get(name
, defaultValue?
): string
Return SVG icon
Parameters
Name | Type | Default value |
---|---|---|
name |
string |
undefined |
defaultValue |
string |
'<span></span>' |
Returns
string
Defined in
set
set(name
, value
): typeof Icon
Set SVG in store
Parameters
Name | Type |
---|---|
name |
string |
value |
string |
Returns
typeof Icon
Defined in
makeIcon
makeIcon(jodit
, icon
): CanUndef
<Node
>
Make icon html element
Parameters
Name | Type |
---|---|
jodit |
IViewBased <IViewOptions > |
icon |
IUIIconState |
Returns
Defined in
jodit/src/core/ui/icon.ts:71