htmlsourceelement

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

Functions

func GetInterface

func GetInterface() js.Value

Types

type HtmlSourceElement

type HtmlSourceElement struct {
	htmlelement.HtmlElement
}

HtmlSourceElement struct

func NewFromElement

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

func NewFromJSObject

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

func (HtmlSourceElement) HtmlSourceElement_

func (h HtmlSourceElement) HtmlSourceElement_() HtmlSourceElement

func (HtmlSourceElement) Media

func (h HtmlSourceElement) Media() (string, error)

func (HtmlSourceElement) SetMedia

func (h HtmlSourceElement) SetMedia(value string) error

func (HtmlSourceElement) SetSizes

func (h HtmlSourceElement) SetSizes(value string) error

func (HtmlSourceElement) SetSrc

func (h HtmlSourceElement) SetSrc(value string) error

func (HtmlSourceElement) SetSrcSet

func (h HtmlSourceElement) SetSrcSet(value string) error

func (HtmlSourceElement) SetType

func (h HtmlSourceElement) SetType(value string) error

func (HtmlSourceElement) Sizes

func (h HtmlSourceElement) Sizes() (string, error)

func (HtmlSourceElement) Src

func (h HtmlSourceElement) Src() (string, error)

func (HtmlSourceElement) SrcSet

func (h HtmlSourceElement) SrcSet() (string, error)

func (HtmlSourceElement) Type

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

type HtmlSourceElementFrom

type HtmlSourceElementFrom interface {
	HtmlSourceElement_() HtmlSourceElement
}

Jump to

Keyboard shortcuts

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