loadIcon

external fun loadIcon(icon: String): Promise<IconifyIcon>

Loads one icon from the Iconify API.

The returned promise resolves with full icon data and rejects if the icon cannot be loaded.