Versions in this module Expand all Collapse all v1 v1.5.1 Sep 14, 2024 v1.5.0 Sep 11, 2024 Changes in this version + var ErrNotAnHTMLOptionElement = errors.New("Object is not an HTMLOptionElement") + var ErrNotImplemented = errors.New("Browser not implemented HTMLOptionElement") + func GetInterface() js.Value + type HtmlOptionElement struct + func New(d document.Document) (HtmlOptionElement, error) + func NewFromElement(elem element.Element) (HtmlOptionElement, error) + func NewFromJSObject(obj js.Value) (HtmlOptionElement, error) + func Option(text string, opts ...interface{}) (HtmlOptionElement, error) + func (h HtmlOptionElement) DefaultSelected() (bool, error) + func (h HtmlOptionElement) Disabled() (bool, error) + func (h HtmlOptionElement) Form() (element.Element, error) + func (h HtmlOptionElement) HtmlOptionElement_() HtmlOptionElement + func (h HtmlOptionElement) Index() (int, error) + func (h HtmlOptionElement) Label() (string, error) + func (h HtmlOptionElement) Selected() (bool, error) + func (h HtmlOptionElement) SetDefaultSelected(value bool) error + func (h HtmlOptionElement) SetDisabled(value bool) error + func (h HtmlOptionElement) SetLabel(value string) error + func (h HtmlOptionElement) SetSelected(value bool) error + func (h HtmlOptionElement) SetText(value string) error + func (h HtmlOptionElement) SetValue(value string) error + func (h HtmlOptionElement) Text() (string, error) + func (h HtmlOptionElement) Value() (string, error) + type HtmlOptionElementFrom interface + HtmlOptionElement_ func() HtmlOptionElement