webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
HTMLOptionsCollection Interface Reference

import"HTMLOptionsCollection.idl";

Inheritance diagram for HTMLOptionsCollection:
HTMLCollection

Public Member Functions

void add ((HTMLOptionElement or HTMLOptGroupElement) element, optional(HTMLElement or long)? before=null)
 
void remove (long index)
 
void remove (HTMLOptionElement option)
 
getter HTMLOptionElement item (unsigned long index)
 
getter HTMLOptionElement namedItem (DOMString name)
 

Public Attributes

attribute unsigned long length
 
attribute long selectedIndex
 
- Public Attributes inherited from HTMLCollection
readonly attribute unsigned long length
 

Member Function Documentation

◆ add()

void HTMLOptionsCollection::add ( (HTMLOptionElement or HTMLOptGroupElement element,
optional(HTMLElement or long)?  before = null 
)

◆ item()

getter HTMLOptionElement HTMLOptionsCollection::item ( unsigned long  index)

Implements HTMLCollection.

◆ namedItem()

getter HTMLOptionElement HTMLOptionsCollection::namedItem ( DOMString  name)

Implements HTMLCollection.

◆ remove() [1/2]

void HTMLOptionsCollection::remove ( long  index)

◆ remove() [2/2]

void HTMLOptionsCollection::remove ( HTMLOptionElement  option)

Member Data Documentation

◆ length

attribute unsigned long HTMLOptionsCollection::length

◆ selectedIndex

attribute long HTMLOptionsCollection::selectedIndex

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