cssrule

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented CSSRule")
	ErrNotAnCSSRule   = errors.New("Object is not a CSSRule")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type CSSRule

type CSSRule struct {
	baseobject.BaseObject
}

CSSRule struct

func NewFromJSObject

func NewFromJSObject(obj js.Value) (CSSRule, error)

func (CSSRule) CSSRule_

func (c CSSRule) CSSRule_() CSSRule

func (CSSRule) CssText

func (c CSSRule) CssText() (string, error)

func (CSSRule) ParentRule

func (c CSSRule) ParentRule() (CSSRule, error)

func (CSSRule) ParentStyleSheet

func (c CSSRule) ParentStyleSheet() (stylesheet.StyleSheet, error)

type CSSRuleFrom

type CSSRuleFrom interface {
	CSSRule_() CSSRule
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL