createIconifyIcon

Creates an <iconify-icon> element displaying icon.

The element is not attached to the document. The custom element is registered on first use.

Parameters

icon

icon name such as mdi:home, or serialised icon data.

configure

applied to the new element after icon is set.