icon

Sets the icon identified by name to the icon slot.


fun Container.icon(name: String, className: String? = null, init: MdIcon.() -> Unit? = null): MdIcon(source)