createIcon

fun createIcon(configure: IconElement.() -> Unit = {}): IconElement

Creates a <vaadin-icon> element. The custom element is registered on first use.