Custom Css Value Penalizer Rule
data class CustomCssValuePenalizerRule(val numericValueCondition: CustomCssValuePenalizerNumericCondition? = null, val penalty: Int, val properties: List<CustomCssValuePenalizerRuleProperties>, val values: List<String>? = null)
Constructors
Link copied to clipboard
constructor(numericValueCondition: CustomCssValuePenalizerNumericCondition? = null, penalty: Int, properties: List<CustomCssValuePenalizerRuleProperties>, values: List<String>? = null)
Properties
Link copied to clipboard
Should be used for numeric CSS declarations. The the value matches the condition, the penalty is applied.
Link copied to clipboard
The name of the CSS properties that should trigger this rule. The rule triggers if any of the defined properties matches "values" or the "numericValueCondition"