loadIcons

external fun loadIcons(icons: Array<String>, callback: (loaded: Array<IconifyIconName>, missing: Array<IconifyIconName>, pending: Array<IconifyIconName>, unsubscribe: () -> Unit) -> Unit? = definedExternally): () -> Unit

Loads multiple icons from the Iconify API.

Return

a function that aborts loading.

Parameters

callback

receives the lists of loaded, missing and pending icons, plus a function that unsubscribes from further callbacks.