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.
 

38 lines
1.1 KiB

// Code generated DO NOT EDIT
// xmlhttprequestupload.go
package dom
import "syscall/js"
type XMLHttpRequestUploadIFace interface {
AddEventListener(args ...interface{})
DispatchEvent(args ...interface{}) bool
GetOnabort() EventHandler
SetOnabort(EventHandler)
GetOnerror() EventHandler
SetOnerror(EventHandler)
GetOnload() EventHandler
SetOnload(EventHandler)
GetOnloadend() EventHandler
SetOnloadend(EventHandler)
GetOnloadstart() EventHandler
SetOnloadstart(EventHandler)
GetOnprogress() EventHandler
SetOnprogress(EventHandler)
GetOntimeout() EventHandler
SetOntimeout(EventHandler)
RemoveEventListener(args ...interface{})
}
type XMLHttpRequestUpload struct {
Value
XMLHttpRequestEventTarget
EventTarget
}
func JSValueToXMLHttpRequestUpload(val js.Value) XMLHttpRequestUpload {
return XMLHttpRequestUpload{Value: JSValueToValue(val)}
}
func (v Value) AsXMLHttpRequestUpload() XMLHttpRequestUpload { return XMLHttpRequestUpload{Value: v} }
func NewXMLHttpRequestUpload(args ...interface{}) XMLHttpRequestUpload {
return XMLHttpRequestUpload{Value: JSValueToValue(js.Global().Get("XMLHttpRequestUpload").New(args...))}
}