GeoLeaf Core API - v3.0.0
Preparing search index...
utils/validators/style-validator-helpers
pushOpacityError
Function pushOpacityError
pushOpacityError
(
obj
:
Record
<
string
,
unknown
>
,
key
:
string
,
fieldPath
:
string
,
errors
:
ValidationErrorItem
[]
,
context
:
Record
<
string
,
unknown
>
,
)
:
void
Pushes an error when the opacity field is present but outside the [0, 1] range
Parameters
obj
:
Record
<
string
,
unknown
>
key
:
string
fieldPath
:
string
errors
:
ValidationErrorItem
[]
context
:
Record
<
string
,
unknown
>
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GeoLeaf Core API - v3.0.0
Loading...
Pushes an error when the opacity field is present but outside the [0, 1] range