Debian Codegraph @

vendor/wikimedia/idle-dom/src/TextTrackCue.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 * TextTrackCue
10 *
11 * @see https://dom.spec.whatwg.org/#interface-texttrackcue
12 *
13 * @property TextTrack|null $track
14 * @property string $id
15 * @property float $startTime
16 * @property float $endTime
17 * @property bool $pauseOnExit
18 * @property EventHandlerNonNull|callable|null $onenter
19 * @property EventHandlerNonNull|callable|null $onexit
20 * @phan-forbid-undeclared-magic-properties
21 */
22 interface TextTrackCue extends EventTarget {
23 // Direct parent: EventTarget
24
25 /**
26 * @return TextTrack|null
27 */
28 public function getTrack();
29
30 /**
31 * @return string
32 */
33 public function getId(): string;
34
35 /**
36 * @param string $val
37 */
38 public function setId( string $val ): void;
39
40 /**
41 * @return float
42 */
43 public function getStartTime(): float;
44
45 /**
46 * @param float $val
47 */
48 public function setStartTime( float $val ): void;
49
50 /**
51 * @return float
52 */
53 public function getEndTime(): float;
54
55 /**
56 * @param float $val
57 */
58 public function setEndTime( float $val ): void;
59
60 /**
61 * @return bool
62 */
63 public function getPauseOnExit(): bool;
64
65 /**
66 * @param bool $val
67 */
68 public function setPauseOnExit( bool $val ): void;
69
70 /**
71 * @return EventHandlerNonNull|callable|null
72 */
73 public function getOnenter();
74
75 /**
76 * @param EventHandlerNonNull|callable|null $val
77 */
78 public function setOnenter( /* ?mixed */ $val ): void;
79
80 /**
81 * @return EventHandlerNonNull|callable|null
82 */
83 public function getOnexit();
84
85 /**
86 * @param EventHandlerNonNull|callable|null $val
87 */
88 public function setOnexit( /* ?mixed */ $val ): void;
89
90 }