Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type HtmlSourceElement
- 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
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 ¶
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
}
Click to show internal directories.
Click to hide internal directories.