RuleBuilder class

RuleBuilder class

A builder class for constructing CSS style rules. This class is used to dynamically build a string of CSS styles by setting various attributes and their values.

The RuleBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of RuleBuilder

Methods

MethodDescription
buildBuilds the final CSS style string from the accumulated style attributes.
attributeSets or updates a style attribute with a specified value.

See Also