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

Public Member Functions

void setItem (int $index, $option)
 
void add ($element, $before=null)
 
void remove (int $index)
 
int getSelectedIndex ()
 
 setSelectedIndex (int $val)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\HTMLCollection
int getLength ()
 
Element null item (int $index)
 
Element null namedItem (string $name)
 
Iterator< ElementgetIterator ()
 

Member Function Documentation

◆ add()

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

◆ getSelectedIndex()

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

◆ remove()

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

◆ setItem()

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

◆ setSelectedIndex()

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

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