Class StyleParse
Index
Constructors
Methods
Constructors
constructor
- new StyleParse(): StyleParse
Returns StyleParse
Methods
Static
pixels
Static
remPixels
- remPixels(multiplier?: number, options?: { targetDocument?: Document }): number
Returns the pixel value for
1rem
based on the root document element. You may apply an optional multiplier.Parameters
Returns number
The pixel value for
1rem
with or without a multiplier based on the root document element.
Provides resources for parsing style strings.