htmlbaseelement

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 HtmlBaseElement")
	ErrNotAnHtmlBaseElement = errors.New("Object is not an HtmlBaseElement")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type HtmlBaseElement

type HtmlBaseElement struct {
	htmlelement.HtmlElement
}

HtmlBaseElement struct

func NewFromElement

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

func NewFromJSObject

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

func (HtmlBaseElement) Href

func (h HtmlBaseElement) Href() (string, error)

func (HtmlBaseElement) HtmlBaseElement_

func (h HtmlBaseElement) HtmlBaseElement_() HtmlBaseElement

func (HtmlBaseElement) SetHref

func (h HtmlBaseElement) SetHref(value string) error

func (HtmlBaseElement) SetTarget

func (h HtmlBaseElement) SetTarget(value string) error

func (HtmlBaseElement) Target

func (h HtmlBaseElement) Target() (string, error)

type HtmlBaseElementFrom

type HtmlBaseElementFrom interface {
	HtmlBaseElement_() HtmlBaseElement
}

Jump to

Keyboard shortcuts

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