CSSProcessorConfig
reexport
interface
CSSProcessorConfig
{
 Â
absoluteBorderWidthsPixelMap
:
Record
<
CSSHardcodedBorderWidth
,
number
>
;
 Â
absoluteFontSizesPixelMap
:
Record
<
CSSAbsoluteHardcodedFontSize
,
number
>
;
 Â
absoluteLengthUnitsMultiplicators
:
CSSAbsoluteLengthUnitsMultiplicators
;
 Â
inlinePropertiesBlacklist
:
CSSPropertyNameList
;
 Â
inlinePropertiesWhitelist
:
null
|
CSSPropertyNameList
;
 Â
relativeFontSizesCoefficientMap
:
Record
<
CSSRelativeHarcodedFontSize
,
number
>
;
 Â
rootFontSize
:
number
;
 Â
isFontSupported
:
(
fontName
:
string
)
=>
string
|
boolean
;
}
Defined in
@native-html/css-processor
#
FieldsabsoluteBorderWidthsPixelMap
#
required
absoluteFontSizesPixelMap
#
required
absoluteLengthUnitsMultiplicators
#
required
inlinePropertiesBlacklist
#
required
Ignore those properties when compiling inline styles. The names should be camelCased.
Remarks
As of this version, inline styles are considered 100% safe and predictable, thus this property is generally not advised.
inlinePropertiesWhitelist
#
required
Allow those properties when compiling inline styles. The names should be camelCased.
Remarks
When present, inlinePropertiesBlacklist will be ignored.
relativeFontSizesCoefficientMap
#
required
rootFontSize
#
required
rootFontSize
:
number
;
Font size used to compute REM.
#
MethodsisFontSupported
#
required
isFontSupported
:
(
fontName
:
string
)
=>
string
|
boolean
;
Determine is the provided font is supported on running platform.
#
ParametersfontName
The name of the font to validate. Any quotes have been removed.