cssstyledeclaration

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 CSSStyleDeclaration")
	ErrNotAnCSSStyleDeclaration = errors.New("Object is not a CSSStyleDeclaration")
)

Functions

func GetInterface

func GetInterface() js.Value

Types

type CSSStyleDeclaration

type CSSStyleDeclaration struct {
	baseobject.BaseObject
}

CSSStyleDeclaration struct

func NewFromJSObject

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

func (CSSStyleDeclaration) CSSStyleDeclaration_

func (c CSSStyleDeclaration) CSSStyleDeclaration_() CSSStyleDeclaration

func (CSSStyleDeclaration) GetPropertyPriority

func (c CSSStyleDeclaration) GetPropertyPriority(property string) (string, error)

func (CSSStyleDeclaration) GetPropertyValue

func (c CSSStyleDeclaration) GetPropertyValue(property string) (string, error)

func (CSSStyleDeclaration) Item

func (c CSSStyleDeclaration) Item(index int) (string, error)

func (CSSStyleDeclaration) ParentRule

func (c CSSStyleDeclaration) ParentRule() (cssrule.CSSRule, error)

func (CSSStyleDeclaration) RemoveProperty

func (c CSSStyleDeclaration) RemoveProperty(property string) (string, error)

func (CSSStyleDeclaration) SetProperty

func (c CSSStyleDeclaration) SetProperty(propertyName string, opts ...string) error

type CSSStyleDeclarationFrom

type CSSStyleDeclarationFrom interface {
	CSSStyleDeclaration_() CSSStyleDeclaration
}

Jump to

Keyboard shortcuts

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