Debian Codegraph @

vendor/wikimedia/idle-dom/src/ShadowRoot.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * ShadowRoot
10 *
11 * @see https://dom.spec.whatwg.org/#interface-shadowroot
12 *
13 * @property int $nodeType
14 * @property string $nodeName
15 * @property string $baseURI
16 * @property bool $isConnected
17 * @property Document|null $ownerDocument
18 * @property Node|null $parentNode
19 * @property Element|null $parentElement
20 * @property NodeList $childNodes
21 * @property Node|null $firstChild
22 * @property Node|null $lastChild
23 * @property Node|null $previousSibling
24 * @property Node|null $nextSibling
25 * @property ?string $nodeValue
26 * @property ?string $textContent
27 * @property HTMLCollection $children
28 * @property Element|null $firstElementChild
29 * @property Element|null $lastElementChild
30 * @property int $childElementCount
31 * @property StyleSheetList $styleSheets
32 * @property string $innerHTML
33 * @property string $mode
34 * @property Element $host
35 * @property EventHandlerNonNull|callable|null $onslotchange
36 * @phan-forbid-undeclared-magic-properties
37 */
38 interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
39 // Direct parent: DocumentFragment
40
41 /**
42 * @return string
43 */
44 public function getMode(): /* ShadowRootMode */ string;
45
46 /**
47 * @return Element
48 */
49 public function getHost();
50
51 /**
52 * @return EventHandlerNonNull|callable|null
53 */
54 public function getOnslotchange();
55
56 /**
57 * @param EventHandlerNonNull|callable|null $val
58 */
59 public function setOnslotchange( /* ?mixed */ $val ): void;
60
61 }