Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type HtmlImageElement
- func (h HtmlImageElement) Alt() (string, error)
- func (h HtmlImageElement) Complete() (bool, error)
- func (h HtmlImageElement) CrossOrigin() (string, error)
- func (h HtmlImageElement) CurrentSrc() (string, error)
- func (h HtmlImageElement) Decode() (promise.Promise, error)
- func (h HtmlImageElement) Decoding() (string, error)
- func (h HtmlImageElement) HtmlImageElement() HtmlImageElement
- func (h HtmlImageElement) Loading() (string, error)
- func (h HtmlImageElement) NaturalHeight() (int, error)
- func (h HtmlImageElement) NaturalWidth() (int, error)
- func (h HtmlImageElement) SetAlt(value string) error
- func (h HtmlImageElement) SetCrossOrigin(value string) error
- func (h HtmlImageElement) SetDecoding(value string) error
- func (h HtmlImageElement) SetLoading(value string) error
- func (h HtmlImageElement) SetSrc(value string) error
- func (h HtmlImageElement) Src() (string, error)
- func (h HtmlImageElement) X() (int, error)
- func (h HtmlImageElement) Y() (int, error)
- type HtmlImageElementFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented HtmlImageElement") ErrNotAnHtmImageElement = errors.New("Object is not an HtmlImageElement") )
Functions ¶
func GetInterface ¶
Types ¶
type HtmlImageElement ¶
type HtmlImageElement struct {
htmlelement.HtmlElement
}
HtmlImageElement struct
func NewFromElement ¶
func NewFromElement(elem element.Element) (HtmlImageElement, error)
func NewFromJSObject ¶
func NewFromJSObject(obj js.Value) (HtmlImageElement, error)
func (HtmlImageElement) Alt ¶
func (h HtmlImageElement) Alt() (string, error)
func (HtmlImageElement) Complete ¶
func (h HtmlImageElement) Complete() (bool, error)
func (HtmlImageElement) CrossOrigin ¶
func (h HtmlImageElement) CrossOrigin() (string, error)
func (HtmlImageElement) CurrentSrc ¶
func (h HtmlImageElement) CurrentSrc() (string, error)
func (HtmlImageElement) Decoding ¶
func (h HtmlImageElement) Decoding() (string, error)
func (HtmlImageElement) HtmlImageElement ¶
func (h HtmlImageElement) HtmlImageElement() HtmlImageElement
func (HtmlImageElement) Loading ¶
func (h HtmlImageElement) Loading() (string, error)
func (HtmlImageElement) NaturalHeight ¶
func (h HtmlImageElement) NaturalHeight() (int, error)
func (HtmlImageElement) NaturalWidth ¶
func (h HtmlImageElement) NaturalWidth() (int, error)
func (HtmlImageElement) SetAlt ¶
func (h HtmlImageElement) SetAlt(value string) error
func (HtmlImageElement) SetCrossOrigin ¶
func (h HtmlImageElement) SetCrossOrigin(value string) error
func (HtmlImageElement) SetDecoding ¶
func (h HtmlImageElement) SetDecoding(value string) error
func (HtmlImageElement) SetLoading ¶
func (h HtmlImageElement) SetLoading(value string) error
func (HtmlImageElement) SetSrc ¶
func (h HtmlImageElement) SetSrc(value string) error
func (HtmlImageElement) Src ¶
func (h HtmlImageElement) Src() (string, error)
func (HtmlImageElement) X ¶
func (h HtmlImageElement) X() (int, error)
func (HtmlImageElement) Y ¶
func (h HtmlImageElement) Y() (int, error)
type HtmlImageElementFrom ¶
type HtmlImageElementFrom interface {
HtmlImageElement() HtmlImageElement
}
Click to show internal directories.
Click to hide internal directories.