clear

inline fun Node.clear()(source)

Deprecated

Warning since 1.4

Error since 1.6

Hidden since 2.1

This API is moved to another package, use 'kotlinx.dom.clear' instead.

Replace with

import kotlinx.dom.clear
this.clear()

Removes all the children from this node.

Since Kotlin

1.1