Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | // AUTOMATICALLY GENERATED. DO NOT EDIT. |
4 | // Use `composer build` to regenerate. |
5 | |
6 | namespace Wikimedia\IDLeDOM; |
7 | |
8 | /** |
9 | * TextTrackList |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-texttracklist |
12 | * |
13 | * @property int $length |
14 | * @property EventHandlerNonNull|callable|null $onchange |
15 | * @property EventHandlerNonNull|callable|null $onaddtrack |
16 | * @property EventHandlerNonNull|callable|null $onremovetrack |
17 | * @phan-forbid-undeclared-magic-properties |
18 | */ |
19 | interface TextTrackList extends EventTarget, \ArrayAccess { |
20 | // Direct parent: EventTarget |
21 | |
22 | /** |
23 | * @return int |
24 | */ |
25 | public function getLength(): int; |
26 | |
27 | /** |
28 | * @param int $index |
29 | * @return TextTrack |
30 | */ |
31 | public function item( int $index ); |
32 | |
33 | /** |
34 | * @param string $id |
35 | * @return TextTrack|null |
36 | */ |
37 | public function getTrackById( string $id ); |
38 | |
39 | /** |
40 | * @return EventHandlerNonNull|callable|null |
41 | */ |
42 | public function getOnchange(); |
43 | |
44 | /** |
45 | * @param EventHandlerNonNull|callable|null $val |
46 | */ |
47 | public function setOnchange( /* ?mixed */ $val ): void; |
48 | |
49 | /** |
50 | * @return EventHandlerNonNull|callable|null |
51 | */ |
52 | public function getOnaddtrack(); |
53 | |
54 | /** |
55 | * @param EventHandlerNonNull|callable|null $val |
56 | */ |
57 | public function setOnaddtrack( /* ?mixed */ $val ): void; |
58 | |
59 | /** |
60 | * @return EventHandlerNonNull|callable|null |
61 | */ |
62 | public function getOnremovetrack(); |
63 | |
64 | /** |
65 | * @param EventHandlerNonNull|callable|null $val |
66 | */ |
67 | public function setOnremovetrack( /* ?mixed */ $val ): void; |
68 | |
69 | } |