attr

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented Attr")
	ErrNotAnAttr      = errors.New("Object is not an Attr")
	ErrNoOwnerElement = errors.New("No owner element")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get the JS interface Attr

Types

type Attr

type Attr struct {
	node.Node
}

func NewFromJSObject

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

func (Attr) Attr_

func (a Attr) Attr_() Attr

func (Attr) LocalName

func (a Attr) LocalName() (string, error)

func (Attr) Name

func (a Attr) Name() (string, error)

func (Attr) NamespaceURI

func (a Attr) NamespaceURI() (string, error)

func (Attr) Prefix

func (a Attr) Prefix() (string, error)

func (Attr) Value

func (a Attr) Value() (string, error)

type AttrFrom

type AttrFrom interface {
	Attr_() Attr
}

Jump to

Keyboard shortcuts

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