Skip to content

Kirby 4.5.0

$element->query()

Searches nested elements

$element->query(string $query): DOMNodeList|null

Parameters

Name Type Default
$query * string

Return type

DOMNodeList|null

Parent class

Kirby\Parsley\Element