Skip to content

Kirby 4.2.0

$element->remove()

Removes the element from the DOM

$element->remove(): void

Parent class

Kirby\Parsley\Element