IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\Stub\HTMLOptionsCollection Class Reference

Public Member Functions

void setItem (int $index, $option)
 
void add ($element, $before=null)
 
void remove (int $index)
 
int getSelectedIndex ()
 
 setSelectedIndex (int $val)
 

Protected Member Functions

Exception _unimplemented ()
 

Member Function Documentation

◆ _unimplemented()

Exception Wikimedia\IDLeDOM\Stub\HTMLOptionsCollection::_unimplemented ( )
abstractprotected
Returns
Exception

◆ add()

void Wikimedia\IDLeDOM\Stub\HTMLOptionsCollection::add ( $element,
$before = null )
Parameters
HTMLOptionElement | HTMLOptGroupElement$element
HTMLElement | int | null$before
Returns
void

◆ getSelectedIndex()

int Wikimedia\IDLeDOM\Stub\HTMLOptionsCollection::getSelectedIndex ( )
Returns
int

◆ remove()

void Wikimedia\IDLeDOM\Stub\HTMLOptionsCollection::remove ( int $index)
Parameters
int$index
Returns
void

◆ setItem()

void Wikimedia\IDLeDOM\Stub\HTMLOptionsCollection::setItem ( int $index,
$option )
Parameters
int$index
HTMLOptionElement | null$option
Returns
void

◆ setSelectedIndex()

Wikimedia\IDLeDOM\Stub\HTMLOptionsCollection::setSelectedIndex ( int $val)
Parameters
int$val

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