Versions in this module Expand all Collapse all v1 v1.5.1 Sep 14, 2024 v1.5.0 Sep 11, 2024 Changes in this version + var ErrNotAnHTMLSourceElement = errors.New("Object is not an HTMLSourceElement") + var ErrNotImplemented = errors.New("Browser not implemented HTMLSourceElement") + func GetInterface() js.Value + type HtmlSourceElement struct + func New(d document.Document) (HtmlSourceElement, error) + func NewFromElement(elem element.Element) (HtmlSourceElement, error) + func NewFromJSObject(obj js.Value) (HtmlSourceElement, error) + func (h HtmlSourceElement) HtmlSourceElement_() HtmlSourceElement + func (h HtmlSourceElement) Media() (string, error) + func (h HtmlSourceElement) SetMedia(value string) error + func (h HtmlSourceElement) SetSizes(value string) error + func (h HtmlSourceElement) SetSrc(value string) error + func (h HtmlSourceElement) SetSrcSet(value string) error + func (h HtmlSourceElement) SetType(value string) error + func (h HtmlSourceElement) Sizes() (string, error) + func (h HtmlSourceElement) Src() (string, error) + func (h HtmlSourceElement) SrcSet() (string, error) + func (h HtmlSourceElement) Type() (string, error) + type HtmlSourceElementFrom interface + HtmlSourceElement_ func() HtmlSourceElement