Domovoy API

DataAttributes
in package

Arbitrary data-* attributes.

Keys are the suffix after "data-" (e.g. "test-id" renders as data-test-id="…").

Tags
see
https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes

Table of Contents

Properties

$items  : array<string|int, mixed>

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct([array<non-empty-string, string> $items = [] ]) : mixed
Parameters
$items : array<non-empty-string, string> = []

        
On this page

Search results