HTMLOptionsCollection
Generated.swift:8624class HTMLOptionsCollection
class HTMLOptionsCollection
import DOM
class HTMLCollection
protocol Any_Element_or_HTMLCollection : ConvertibleToJSValue
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
override var length: UInt32 { get set }
@ReadWriteAttribute var selectedIndex: Int32 { get set }
override subscript(key: Int) -> HTMLOptionElement? { get set }
func add(element: HTMLOptGroupElement_or_HTMLOptionElement, before: HTMLElement_or_Int32? = nil)
func remove(index: Int32)