IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\VideoTrackList Interface Reference
+ Inheritance diagram for Wikimedia\IDLeDOM\VideoTrackList:

Public Member Functions

int getLength ()
 
VideoTrack item (int $index)
 
VideoTrack null getTrackById (string $id)
 
int getSelectedIndex ()
 
EventHandlerNonNull callable null getOnchange ()
 
 setOnchange ($val)
 
EventHandlerNonNull callable null getOnaddtrack ()
 
 setOnaddtrack ($val)
 
EventHandlerNonNull callable null getOnremovetrack ()
 
 setOnremovetrack ($val)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\EventTarget
void addEventListener (string $type, $callback, $options=null)
 
void removeEventListener (string $type, $callback, $options=null)
 
bool dispatchEvent ($event)
 

Member Function Documentation

◆ getLength()

int Wikimedia\IDLeDOM\VideoTrackList::getLength ( )
Returns
int

◆ getOnaddtrack()

EventHandlerNonNull callable null Wikimedia\IDLeDOM\VideoTrackList::getOnaddtrack ( )
Returns
EventHandlerNonNull|callable|null

◆ getOnchange()

EventHandlerNonNull callable null Wikimedia\IDLeDOM\VideoTrackList::getOnchange ( )
Returns
EventHandlerNonNull|callable|null

◆ getOnremovetrack()

EventHandlerNonNull callable null Wikimedia\IDLeDOM\VideoTrackList::getOnremovetrack ( )
Returns
EventHandlerNonNull|callable|null

◆ getSelectedIndex()

int Wikimedia\IDLeDOM\VideoTrackList::getSelectedIndex ( )
Returns
int

◆ getTrackById()

VideoTrack null Wikimedia\IDLeDOM\VideoTrackList::getTrackById ( string $id)
Parameters
string$id
Returns
VideoTrack|null

◆ item()

VideoTrack Wikimedia\IDLeDOM\VideoTrackList::item ( int $index)
Parameters
int$index
Returns
VideoTrack

◆ setOnaddtrack()

Wikimedia\IDLeDOM\VideoTrackList::setOnaddtrack ( $val)
Parameters
EventHandlerNonNull | callable | null$val

◆ setOnchange()

Wikimedia\IDLeDOM\VideoTrackList::setOnchange ( $val)
Parameters
EventHandlerNonNull | callable | null$val

◆ setOnremovetrack()

Wikimedia\IDLeDOM\VideoTrackList::setOnremovetrack ( $val)
Parameters
EventHandlerNonNull | callable | null$val

The documentation for this interface was generated from the following file: