Versions in this module Expand all Collapse all v0 v0.8.1 May 10, 2024 v0.8.0 Apr 24, 2024 Changes in this version + func Set(ctx context.Context) context.Context + func SetIfNeed(ctx context.Context) context.Context + type AtRule string + type ElementData struct + func (ed *ElementData) DropAttribute(k Key) + func (ed *ElementData) GetAttribute(k Key) Value + func (ed *ElementData) GetAttributes() string + func (ed *ElementData) SetAttribute(k Key, v Value) + func (ed *ElementData) SetClass(class string) + func (ed *ElementData) SetStyle(rule AtRule, selector Selector, key Key, value Value) + type GlobalData struct + func Get(ctx context.Context) *GlobalData + func (gd *GlobalData) DisableStyle() + func (gd *GlobalData) ElementData() *ElementData + func (gd *GlobalData) EnableStyle() + func (gd *GlobalData) ExtractData() map[Key]Value + func (gd *GlobalData) WriteStyle(wr io.Writer) + type Key string + type Selector string + type Value string + const EmptyValue