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.
 

32 lines
750 B

// Code generated DO NOT EDIT
// cssnamespacerule.go
package dom
import "syscall/js"
type CSSNamespaceRuleIFace interface {
GetCssText() string
SetCssText(string)
GetNamespaceURI() string
GetParentRule() CSSRule
GetParentStyleSheet() CSSStyleSheet
GetPrefix() string
GetType() int
}
type CSSNamespaceRule struct {
Value
CSSRule
}
func jsValueToCSSNamespaceRule(val js.Value) CSSNamespaceRule {
return CSSNamespaceRule{Value: Value{Value: val}}
}
func (v Value) AsCSSNamespaceRule() CSSNamespaceRule { return CSSNamespaceRule{Value: v} }
func (c CSSNamespaceRule) GetNamespaceURI() string {
val := c.Get("namespaceURI")
return val.String()
}
func (c CSSNamespaceRule) GetPrefix() string {
val := c.Get("prefix")
return val.String()
}