htmlselectelement

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func GetInterface

func GetInterface() js.Value

Types

type HtmlSelectElement

type HtmlSelectElement struct {
	htmlelement.HtmlElement
}

HtmlSelectElement struct

func NewFromElement

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

func NewFromJSObject

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

func (HtmlSelectElement) Add

func (h HtmlSelectElement) Add(elem htmloptionelement.HtmlOptionElement, before ...interface{}) error

func (HtmlSelectElement) Autofocus

func (h HtmlSelectElement) Autofocus() (bool, error)

func (HtmlSelectElement) CheckValidity

func (h HtmlSelectElement) CheckValidity() (bool, error)

func (HtmlSelectElement) Disabled

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

func (HtmlSelectElement) Form

func (HtmlSelectElement) HtmlSelectElement_

func (h HtmlSelectElement) HtmlSelectElement_() HtmlSelectElement

func (HtmlSelectElement) Item

func (HtmlSelectElement) Length

func (h HtmlSelectElement) Length() (int, error)

func (HtmlSelectElement) Multiple

func (h HtmlSelectElement) Multiple() (bool, error)

func (HtmlSelectElement) Name

func (h HtmlSelectElement) Name() (string, error)

func (HtmlSelectElement) NamedItem

func (HtmlSelectElement) OnInput

func (h HtmlSelectElement) OnInput(handler func(e event.Event)) (js.Func, error)

func (HtmlSelectElement) Options

func (HtmlSelectElement) Remove

func (h HtmlSelectElement) Remove(index int) error

func (HtmlSelectElement) ReportValidity

func (h HtmlSelectElement) ReportValidity() (bool, error)

func (HtmlSelectElement) Required

func (h HtmlSelectElement) Required() (bool, error)

func (HtmlSelectElement) SelectedIndex

func (h HtmlSelectElement) SelectedIndex() (int, error)

func (HtmlSelectElement) SelectedOptions

func (h HtmlSelectElement) SelectedOptions() (htmlcollection.HtmlCollection, error)

func (HtmlSelectElement) SetAutofocus

func (h HtmlSelectElement) SetAutofocus(value bool) error

func (HtmlSelectElement) SetCustomValidity

func (h HtmlSelectElement) SetCustomValidity(message string) error

func (HtmlSelectElement) SetDisabled

func (h HtmlSelectElement) SetDisabled(value bool) error

func (HtmlSelectElement) SetMultiple

func (h HtmlSelectElement) SetMultiple(value bool) error

func (HtmlSelectElement) SetName

func (h HtmlSelectElement) SetName(name string) error

func (HtmlSelectElement) SetRequired

func (h HtmlSelectElement) SetRequired(value bool) error

func (HtmlSelectElement) SetSelectedIndex

func (h HtmlSelectElement) SetSelectedIndex(value int) error

func (HtmlSelectElement) SetSize

func (h HtmlSelectElement) SetSize(value int) error

func (HtmlSelectElement) SetValue

func (h HtmlSelectElement) SetValue(value string) error

func (HtmlSelectElement) Size

func (h HtmlSelectElement) Size() (int, error)

func (HtmlSelectElement) Type

func (h HtmlSelectElement) Type() (string, error)

func (HtmlSelectElement) ValidationMessage

func (h HtmlSelectElement) ValidationMessage() (string, error)

func (HtmlSelectElement) Validity

func (HtmlSelectElement) Value

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

func (HtmlSelectElement) WillValidate

func (h HtmlSelectElement) WillValidate() (bool, error)

type HtmlSelectElementFrom

type HtmlSelectElementFrom interface {
	HtmlSelectElement_() HtmlSelectElement
}

Jump to

Keyboard shortcuts

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