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.
 

20 lines
476 B

// Code generated DO NOT EDIT
// staticrange.go
package dom
import "syscall/js"
type StaticRangeIFace interface {
GetCollapsed() bool
GetEndContainer() Node
GetEndOffset() float64
GetStartContainer() Node
GetStartOffset() float64
}
type StaticRange struct {
Value
AbstractRange
}
func jsValueToStaticRange(val js.Value) StaticRange { return StaticRange{Value: Value{Value: val}} }
func (v Value) AsStaticRange() StaticRange { return StaticRange{Value: v} }