Stylesheet
Stylesheet is initialized with KSS data JSON emitted by postcss-potassium. It holds the parsed data used to apply styles to a Three.js scene.
Constructor Summary
Public Constructor | ||
public |
constructor(kssData: Object) |
Member Summary
Public Members | ||
public get |
data: * |
|
public get |
loadIndex: * The Stylist sets this to the index in the load order the stylesheet Used to break ties in cascade precedence |
|
public set |
|
|
public get |
raw: * |
Method Summary
Public Methods | ||
public |
updateLocalStyles(node: *) |
Public Constructors
Public Members
public get data: * source
public get loadIndex: * source
The Stylist sets this to the index in the load order the stylesheet Used to break ties in cascade precedence
public set loadIndex source
public get raw: * source
Public Methods
public updateLocalStyles(node: *) source
Params:
Name | Type | Attribute | Description |
node | * |