package
0.0.0-20240920093258-0eb8b47e7929
Repository: https://github.com/ecwid/control.git
Documentation: pkg.go.dev

# Functions

Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the position specified by `location`.
Returns all class names from specified stylesheet.
Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
Disables the CSS agent for the given page.
Enables the CSS agent for the given page.
Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.
*/.
Returns the computed style for a DOM node identified by `nodeId`.
Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by `nodeId`.
Returns all layers parsed by the rendering engine for the tree scope of a node.
Returns requested styles for a DOM node identified by `nodeId`.
Returns all media queries parsed by the rendering engine.
Requests information about platform fonts which we used to render child TextNodes in the given node.
Returns the current textual content for a stylesheet.
Modifies the expression of a container query.
Find a rule with the given active property for the given node and set the new value for this property */.
Modifies the keyframe rule key text.
Enables/disables rendering of local CSS fonts (enabled by default).
Modifies the rule selector.
Modifies the rule selector.
Modifies the expression of a scope at-rule.
Sets the new stylesheet text.
Applies specified style edits one after another in the given order.
Modifies the expression of a supports at-rule.
Enables the selector recording.
Stop tracking rule usage and return the list of rules that were used since last call to `takeCoverageDelta` (or since start of coverage instrumentation) */.
Polls the next batch of computed style updates.
Obtain list of rules that became used since last call to this method (or since start of coverage instrumentation) */.
Starts tracking the given computed styles for updates.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*/.
CSS container query rule descriptor.
CSS keyframe rule representation.
CSS keyframes rule representation.
CSS Layer at-rule descriptor.
CSS Layer data.
CSS media rule descriptor.
CSS property declaration data.
CSS rule representation.
CSS Scope at-rule descriptor.
CSS style representation.
CSS stylesheet metainformation.
CSS Supports at-rule descriptor.
Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes.
Fires whenever a web font is updated.
Information about font variation axes for variable fonts */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Inherited pseudo element matches from pseudos of an ancestor node.
Inherited CSS rule collection from ancestor node.
Media query descriptor.
Media query expression descriptor.
Information about amount of glyphs that were rendered with given font.
CSS rule collection for a single pseudo style.
Match data for a CSS rule.
CSS coverage information.
Selector list data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*/.
Text range within a resource.
No description provided by the author
A descriptor of operation to mutate style declaration text.
Fired whenever an active document stylesheet is added.
Fired whenever a stylesheet is changed as a result of the client operation.
Fired whenever an active document stylesheet is removed.
No description provided by the author
No description provided by the author
No description provided by the author
Data for a simple selector (these are delimited by commas in a selector list).

# Interfaces

Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.

# Type aliases

*/.
Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e.