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.
 

26 lines
650 B

// Code generated DO NOT EDIT
// stylesheetlist.go
package dom
import "syscall/js"
type StyleSheetListIFace interface {
Item(args ...interface{}) StyleSheet
GetLength() float64
}
type StyleSheetList struct {
Value
}
func jsValueToStyleSheetList(val js.Value) StyleSheetList {
return StyleSheetList{Value: Value{Value: val}}
}
func (v Value) AsStyleSheetList() StyleSheetList { return StyleSheetList{Value: v} }
func (s StyleSheetList) Item(args ...interface{}) StyleSheet {
val := s.Call("item", args...)
return jsValueToStyleSheet(val.JSValue())
}
func (s StyleSheetList) GetLength() float64 {
val := s.Get("length")
return val.Float()
}