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.
 

33 lines
938 B

// Code generated DO NOT EDIT
// customelementregistry.go
package dom
import "syscall/js"
type CustomElementRegistryIFace interface {
Define(args ...interface{})
Get(args ...interface{}) Value
Upgrade(args ...interface{})
WhenDefined(args ...interface{})
}
type CustomElementRegistry struct {
Value
}
func jsValueToCustomElementRegistry(val js.Value) CustomElementRegistry {
return CustomElementRegistry{Value: Value{Value: val}}
}
func (v Value) AsCustomElementRegistry() CustomElementRegistry { return CustomElementRegistry{Value: v} }
func (c CustomElementRegistry) Define(args ...interface{}) {
c.Call("define", args...)
}
func (c CustomElementRegistry) Get(args ...interface{}) Value {
val := c.Call("get", args...)
return val
}
func (c CustomElementRegistry) Upgrade(args ...interface{}) {
c.Call("upgrade", args...)
}
func (c CustomElementRegistry) WhenDefined(args ...interface{}) {
c.Call("whenDefined", args...)
}