Web API package for use when compling Go to WASM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

208 lines
5.5 KiB

// Code generated DO NOT EDIT
// htmlvideoelement.go
package dom
import "syscall/js"
type HTMLVideoElementIFace interface {
GetAccessKey() string
SetAccessKey(string)
GetAccessKeyLabel() string
AddEventListener(args ...interface{})
AddTextTrack(args ...interface{}) TextTrack
AppendChild(args ...interface{}) Node
AttachShadow(args ...interface{}) ShadowRoot
GetAttributes() NamedNodeMap
GetAudioTracks() AudioTrackList
GetAutocapitalize() string
SetAutocapitalize(string)
GetAutoplay() bool
SetAutoplay(bool)
GetBaseURI() string
GetBuffered() TimeRanges
CanPlayType(args ...interface{}) CanPlayTypeResult
GetChildNodes() NodeList
GetClassList() DOMTokenList
GetClassName() string
SetClassName(string)
Click(args ...interface{})
CloneNode(args ...interface{}) Node
Closest(args ...interface{}) Element
CompareDocumentPosition(args ...interface{}) int
Contains(args ...interface{}) bool
GetControls() bool
SetControls(bool)
GetCrossOrigin() string
SetCrossOrigin(string)
GetCurrentSrc() string
GetCurrentTime() float64
SetCurrentTime(float64)
GetDefaultMuted() bool
SetDefaultMuted(bool)
GetDefaultPlaybackRate() float64
SetDefaultPlaybackRate(float64)
GetDir() string
SetDir(string)
DispatchEvent(args ...interface{}) bool
GetDraggable() bool
SetDraggable(bool)
GetDuration() float64
GetEnded() bool
GetError() MediaError
FastSeek(args ...interface{})
GetFirstChild() Node
GetAttribute(args ...interface{}) string
GetAttributeNS(args ...interface{}) string
GetAttributeNames(args ...interface{})
GetAttributeNode(args ...interface{}) Attr
GetAttributeNodeNS(args ...interface{}) Attr
GetElementsByClassName(args ...interface{}) HTMLCollection
GetElementsByTagName(args ...interface{}) HTMLCollection
GetElementsByTagNameNS(args ...interface{}) HTMLCollection
GetRootNode(args ...interface{}) Node
GetStartDate(args ...interface{}) Value
HasAttribute(args ...interface{}) bool
HasAttributeNS(args ...interface{}) bool
HasAttributes(args ...interface{}) bool
HasChildNodes(args ...interface{}) bool
GetHeight() float64
SetHeight(float64)
GetHidden() bool
SetHidden(bool)
GetId() string
SetId(string)
GetInnerText() string
SetInnerText(string)
InsertAdjacentElement(args ...interface{}) Element
InsertAdjacentText(args ...interface{})
InsertBefore(args ...interface{}) Node
GetIsConnected() bool
IsDefaultNamespace(args ...interface{}) bool
IsEqualNode(args ...interface{}) bool
IsSameNode(args ...interface{}) bool
GetLang() string
SetLang(string)
GetLastChild() Node
Load(args ...interface{})
GetLocalName() string
LookupNamespaceURI(args ...interface{}) string
LookupPrefix(args ...interface{}) string
GetLoop() bool
SetLoop(bool)
Matches(args ...interface{}) bool
GetMuted() bool
SetMuted(bool)
GetNamespaceURI() string
GetNetworkState() int
GetNextSibling() Node
GetNodeName() string
GetNodeType() int
GetNodeValue() string
SetNodeValue(string)
Normalize(args ...interface{})
GetOwnerDocument() Document
GetParentElement() Element
GetParentNode() Node
Pause(args ...interface{})
GetPaused() bool
Play(args ...interface{})
GetPlaybackRate() float64
SetPlaybackRate(float64)
GetPlayed() TimeRanges
GetPlaysInline() bool
SetPlaysInline(bool)
GetPoster() string
SetPoster(string)
GetPrefix() string
GetPreload() string
SetPreload(string)
GetPreviousSibling() Node
GetReadyState() int
RemoveAttribute(args ...interface{})
RemoveAttributeNS(args ...interface{})
RemoveAttributeNode(args ...interface{}) Attr
RemoveChild(args ...interface{}) Node
RemoveEventListener(args ...interface{})
ReplaceChild(args ...interface{}) Node
GetSeekable() TimeRanges
GetSeeking() bool
SetAttribute(args ...interface{})
SetAttributeNS(args ...interface{})
SetAttributeNode(args ...interface{}) Attr
SetAttributeNodeNS(args ...interface{}) Attr
GetShadowRoot() ShadowRoot
GetSlot() string
SetSlot(string)
GetSpellcheck() bool
SetSpellcheck(bool)
GetSrc() string
SetSrc(string)
GetSrcObject() MediaProvider
SetSrcObject(MediaProvider)
GetTagName() string
GetTextContent() string
SetTextContent(string)
GetTextTracks() TextTrackList
GetTitle() string
SetTitle(string)
ToggleAttribute(args ...interface{}) bool
GetTranslate() bool
SetTranslate(bool)
GetVideoHeight() float64
GetVideoTracks() VideoTrackList
GetVideoWidth() float64
GetVolume() float64
SetVolume(float64)
WebkitMatchesSelector(args ...interface{}) bool
GetWidth() float64
SetWidth(float64)
}
type HTMLVideoElement struct {
Value
HTMLMediaElement
HTMLElement
Element
Node
EventTarget
}
func jsValueToHTMLVideoElement(val js.Value) HTMLVideoElement {
return HTMLVideoElement{Value: Value{Value: val}}
}
func (v Value) AsHTMLVideoElement() HTMLVideoElement { return HTMLVideoElement{Value: v} }
func (h HTMLVideoElement) GetHeight() float64 {
val := h.Get("height")
return val.Float()
}
func (h HTMLVideoElement) SetHeight(val float64) {
h.Set("height", val)
}
func (h HTMLVideoElement) GetPlaysInline() bool {
val := h.Get("playsInline")
return val.Bool()
}
func (h HTMLVideoElement) SetPlaysInline(val bool) {
h.Set("playsInline", val)
}
func (h HTMLVideoElement) GetPoster() string {
val := h.Get("poster")
return val.String()
}
func (h HTMLVideoElement) SetPoster(val string) {
h.Set("poster", val)
}
func (h HTMLVideoElement) GetVideoHeight() float64 {
val := h.Get("videoHeight")
return val.Float()
}
func (h HTMLVideoElement) GetVideoWidth() float64 {
val := h.Get("videoWidth")
return val.Float()
}
func (h HTMLVideoElement) GetWidth() float64 {
val := h.Get("width")
return val.Float()
}
func (h HTMLVideoElement) SetWidth(val float64) {
h.Set("width", val)
}