Baseline Widely available
The enter
event fires when a cue becomes active. In the case of subtitles or a caption this is when it displays over the media.
Use the event name in methods like addEventListener()
, or set an event handler property.
addEventListener("enter", (event) => { })
onenter = (event) => { }
Event type
A generic Event
with no added properties.
In the following example, cue
prints to the console when it is the active cue.
cue.addEventListener("enter", (event) => {
console.log("Cue 1 has displayed");
});
Specifications Browser compatibility
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4