htmloptionelement

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented         = errors.New("Browser not implemented HTMLOptionElement")
	ErrNotAnHTMLOptionElement = errors.New("Object is not an HTMLOptionElement")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type HtmlOptionElement

type HtmlOptionElement struct {
	htmlelement.HtmlElement
}

HtmlOptionElement struct

func NewFromElement

func NewFromElement(elem element.Element) (HtmlOptionElement, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (HtmlOptionElement, error)

func Option

func Option(text string, opts ...interface{}) (HtmlOptionElement, error)

func (HtmlOptionElement) DefaultSelected

func (h HtmlOptionElement) DefaultSelected() (bool, error)

func (HtmlOptionElement) Disabled

func (h HtmlOptionElement) Disabled() (bool, error)

func (HtmlOptionElement) Form

func (h HtmlOptionElement) Form() (element.Element, error)

func (HtmlOptionElement) HtmlOptionElement_

func (h HtmlOptionElement) HtmlOptionElement_() HtmlOptionElement

func (HtmlOptionElement) Index

func (h HtmlOptionElement) Index() (int, error)

func (HtmlOptionElement) Label

func (h HtmlOptionElement) Label() (string, error)

func (HtmlOptionElement) Selected

func (h HtmlOptionElement) Selected() (bool, error)

func (HtmlOptionElement) SetDefaultSelected

func (h HtmlOptionElement) SetDefaultSelected(value bool) error

func (HtmlOptionElement) SetDisabled

func (h HtmlOptionElement) SetDisabled(value bool) error

func (HtmlOptionElement) SetLabel

func (h HtmlOptionElement) SetLabel(value string) error

func (HtmlOptionElement) SetSelected

func (h HtmlOptionElement) SetSelected(value bool) error

func (HtmlOptionElement) SetText

func (h HtmlOptionElement) SetText(value string) error

func (HtmlOptionElement) SetValue

func (h HtmlOptionElement) SetValue(value string) error

func (HtmlOptionElement) Text

func (h HtmlOptionElement) Text() (string, error)

func (HtmlOptionElement) Value

func (h HtmlOptionElement) Value() (string, error)

type HtmlOptionElementFrom

type HtmlOptionElementFrom interface {
	HtmlOptionElement_() HtmlOptionElement
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL