SheetXL - v0.8.0-beta.9+sites.210.e2d420901
Preparing search index...
@sheetxl/utils-react
createDynamicIconService
Function createDynamicIconService
createDynamicIconService
()
:
{
addActiveListener
:
(
cb
:
(
key
:
string
)
=>
void
)
=>
RemoveListener
;
getActive
:
()
=>
string
;
getPack
:
(
packKey
?:
string
)
=>
IconPack
|
undefined
;
has
:
(
key
:
string
,
o
?:
ResolveOptions
)
=>
boolean
;
hasPack
:
(
packKey
:
string
)
=>
boolean
;
listIcons
:
(
packKey
:
string
)
=>
string
[]
;
listPacks
:
()
=>
string
[]
;
prefetch
:
(
keys
?:
string
|
string
[]
)
=>
Promise
<
void
>
;
register
:
(
key
:
string
,
packOrLoader
:
IconPack
|
IconPackInput
|
PackLoader
,
)
=>
void
;
registerAlias
:
(
packKey
:
string
,
fromKey
:
string
,
toKey
:
string
)
=>
void
;
resolve
:
(
key
:
string
,
o
?:
ResolveOptions
,
)
=>
Promise
<
IconGlyphPackPair
|
null
>
;
setActive
:
(
packKey
:
string
)
=>
void
;
}
Returns
{
addActiveListener
:
(
cb
:
(
key
:
string
)
=>
void
)
=>
RemoveListener
;
getActive
:
()
=>
string
;
getPack
:
(
packKey
?:
string
)
=>
IconPack
|
undefined
;
has
:
(
key
:
string
,
o
?:
ResolveOptions
)
=>
boolean
;
hasPack
:
(
packKey
:
string
)
=>
boolean
;
listIcons
:
(
packKey
:
string
)
=>
string
[]
;
listPacks
:
()
=>
string
[]
;
prefetch
:
(
keys
?:
string
|
string
[]
)
=>
Promise
<
void
>
;
register
:
(
key
:
string
,
packOrLoader
:
IconPack
|
IconPackInput
|
PackLoader
,
)
=>
void
;
registerAlias
:
(
packKey
:
string
,
fromKey
:
string
,
toKey
:
string
)
=>
void
;
resolve
:
(
key
:
string
,
o
?:
ResolveOptions
,
)
=>
Promise
<
IconGlyphPackPair
|
null
>
;
setActive
:
(
packKey
:
string
)
=>
void
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
SheetXL - v0.8.0-beta.9+sites.210.e2d420901
Loading...