delete

fun delete()

Remove this element by calling removeChild on its parent element. An error will occur in the browser if the element doesn't exist.