counterstyles

package
v0.0.0-...-41cedfc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package counterstyles introduces '@counter-style' rule, which allows authors to define their own custom counter styles for use with CSS list-marker and generated-content counters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSSCounterStyleRule

type CSSCounterStyleRule struct {
	cssom.CSSRule
}

class: CSSCounterStyleRule

func CSSCounterStyleRuleFromJS

func CSSCounterStyleRuleFromJS(value js.Value) *CSSCounterStyleRule

CSSCounterStyleRuleFromJS is casting a js.Value into CSSCounterStyleRule.

func CSSCounterStyleRuleFromWrapper

func CSSCounterStyleRuleFromWrapper(input core.Wrapper) *CSSCounterStyleRule

CSSCounterStyleRuleFromJS is casting from something that holds a js.Value into CSSCounterStyleRule.

func (*CSSCounterStyleRule) AdditiveSymbols

func (_this *CSSCounterStyleRule) AdditiveSymbols() string

AdditiveSymbols returning attribute 'additiveSymbols' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Fallback

func (_this *CSSCounterStyleRule) Fallback() string

Fallback returning attribute 'fallback' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Name

func (_this *CSSCounterStyleRule) Name() string

Name returning attribute 'name' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Negative

func (_this *CSSCounterStyleRule) Negative() string

Negative returning attribute 'negative' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Pad

func (_this *CSSCounterStyleRule) Pad() string

Pad returning attribute 'pad' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Prefix

func (_this *CSSCounterStyleRule) Prefix() string

Prefix returning attribute 'prefix' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Range

func (_this *CSSCounterStyleRule) Range() string

Range returning attribute 'range' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetAdditiveSymbols

func (_this *CSSCounterStyleRule) SetAdditiveSymbols(value string)

SetAdditiveSymbols setting attribute 'additiveSymbols' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetFallback

func (_this *CSSCounterStyleRule) SetFallback(value string)

SetFallback setting attribute 'fallback' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetName

func (_this *CSSCounterStyleRule) SetName(value string)

SetName setting attribute 'name' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetNegative

func (_this *CSSCounterStyleRule) SetNegative(value string)

SetNegative setting attribute 'negative' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetPad

func (_this *CSSCounterStyleRule) SetPad(value string)

SetPad setting attribute 'pad' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetPrefix

func (_this *CSSCounterStyleRule) SetPrefix(value string)

SetPrefix setting attribute 'prefix' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetRange

func (_this *CSSCounterStyleRule) SetRange(value string)

SetRange setting attribute 'range' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetSpeakAs

func (_this *CSSCounterStyleRule) SetSpeakAs(value string)

SetSpeakAs setting attribute 'speakAs' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetSuffix

func (_this *CSSCounterStyleRule) SetSuffix(value string)

SetSuffix setting attribute 'suffix' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetSymbols

func (_this *CSSCounterStyleRule) SetSymbols(value string)

SetSymbols setting attribute 'symbols' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SetSystem

func (_this *CSSCounterStyleRule) SetSystem(value string)

SetSystem setting attribute 'system' with type string (idl: DOMString).

func (*CSSCounterStyleRule) SpeakAs

func (_this *CSSCounterStyleRule) SpeakAs() string

SpeakAs returning attribute 'speakAs' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Suffix

func (_this *CSSCounterStyleRule) Suffix() string

Suffix returning attribute 'suffix' with type string (idl: DOMString).

func (*CSSCounterStyleRule) Symbols

func (_this *CSSCounterStyleRule) Symbols() string

Symbols returning attribute 'symbols' with type string (idl: DOMString).

func (*CSSCounterStyleRule) System

func (_this *CSSCounterStyleRule) System() string

System returning attribute 'system' with type string (idl: DOMString).

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
y or Y : Canonical URL