conditional

package
Version: v0.0.0-...-704d94b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package conditional is about processing of parts of style sheets, conditioned on capabilities of the processor or the document the style sheet is being applied to.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSSConditionRule

type CSSConditionRule struct {
	cssom.CSSGroupingRule
}

class: CSSConditionRule

func CSSConditionRuleFromJS

func CSSConditionRuleFromJS(value js.Wrapper) *CSSConditionRule

CSSConditionRuleFromJS is casting a js.Wrapper into CSSConditionRule.

func (*CSSConditionRule) ConditionText

func (_this *CSSConditionRule) ConditionText() string

ConditionText returning attribute 'conditionText' with type string (idl: DOMString).

func (*CSSConditionRule) SetConditionText

func (_this *CSSConditionRule) SetConditionText(value string)

SetConditionText setting attribute 'conditionText' with type string (idl: DOMString).

type CSSMediaRule

type CSSMediaRule struct {
	CSSConditionRule
}

class: CSSMediaRule

func CSSMediaRuleFromJS

func CSSMediaRuleFromJS(value js.Wrapper) *CSSMediaRule

CSSMediaRuleFromJS is casting a js.Wrapper into CSSMediaRule.

func (*CSSMediaRule) Media

func (_this *CSSMediaRule) Media() *cssom.MediaList

Media returning attribute 'media' with type cssom.MediaList (idl: MediaList).

type CSSSupportsRule

type CSSSupportsRule struct {
	CSSConditionRule
}

class: CSSSupportsRule

func CSSSupportsRuleFromJS

func CSSSupportsRuleFromJS(value js.Wrapper) *CSSSupportsRule

CSSSupportsRuleFromJS is casting a js.Wrapper into CSSSupportsRule.

type Union

type Union struct {
	Value js.Value
}

func UnionFromJS

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue

func (u *Union) JSValue() js.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL