Skip to content

Kirby 4.5.0

$element->classList()

Returns an array with all class names

$element->classList(): array

Return type

array

Parent class

Kirby\Parsley\Element