htmlbuttonelement

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented         = errors.New("Browser not implemented HTMLButtonElement")
	ErrNotAnHtmlButtonElement = errors.New("Object is not an HTMLButtonElement")
	ErrNoForm                 = errors.New("No form attached to this object")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type HtmlButtonElement

type HtmlButtonElement struct {
	htmlelement.HtmlElement
}

HtmlButtonElement struct

func NewFromElement

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

func NewFromJSObject

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

func (HtmlButtonElement) Autofocus

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

func (HtmlButtonElement) Disabled

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

func (HtmlButtonElement) Form

func (HtmlButtonElement) FormAction

func (h HtmlButtonElement) FormAction() (string, error)

func (HtmlButtonElement) FormEncType

func (h HtmlButtonElement) FormEncType() (string, error)

func (HtmlButtonElement) FormMethod

func (h HtmlButtonElement) FormMethod() (string, error)

func (HtmlButtonElement) FormNoValidate

func (h HtmlButtonElement) FormNoValidate() (bool, error)

func (HtmlButtonElement) FormTarget

func (h HtmlButtonElement) FormTarget() (string, error)

func (HtmlButtonElement) HtmlButtonElement_

func (h HtmlButtonElement) HtmlButtonElement_() HtmlButtonElement

func (HtmlButtonElement) Labels

func (h HtmlButtonElement) Labels() (nodelist.NodeList, error)

func (HtmlButtonElement) Name

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

func (HtmlButtonElement) SetAutofocus

func (h HtmlButtonElement) SetAutofocus(value bool) error

func (HtmlButtonElement) SetDisabled

func (h HtmlButtonElement) SetDisabled(value bool) error

func (HtmlButtonElement) SetFormAction

func (h HtmlButtonElement) SetFormAction(value string) error

func (HtmlButtonElement) SetFormEncType

func (h HtmlButtonElement) SetFormEncType(value string) error

func (HtmlButtonElement) SetFormMethod

func (h HtmlButtonElement) SetFormMethod(value string) error

func (HtmlButtonElement) SetFormNoValidate

func (h HtmlButtonElement) SetFormNoValidate(value bool) error

func (HtmlButtonElement) SetFormTarget

func (h HtmlButtonElement) SetFormTarget(value string) error

func (HtmlButtonElement) SetName

func (h HtmlButtonElement) SetName(value string) error

func (HtmlButtonElement) SetTabIndex

func (h HtmlButtonElement) SetTabIndex(value int) error

func (HtmlButtonElement) SetType

func (h HtmlButtonElement) SetType(value string) error

func (HtmlButtonElement) SetValue

func (h HtmlButtonElement) SetValue(value string) error

func (HtmlButtonElement) TabIndex

func (h HtmlButtonElement) TabIndex() (int, error)

func (HtmlButtonElement) Type

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

func (HtmlButtonElement) ValidationMessage

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

func (HtmlButtonElement) Validity

func (HtmlButtonElement) Value

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

func (HtmlButtonElement) WillValidate

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

type HtmlButtonElementFrom

type HtmlButtonElementFrom interface {
	HtmlButtonElement_() HtmlButtonElement
}

Jump to

Keyboard shortcuts

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