Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ICustomCssValuePenalizerRule

Index

Properties

Optional numericValueCondition

Should be used for numeric CSS declarations. The the value matches the condition, the penalty is applied.

nodefault

penalty

penalty: number
int

properties

properties: (number | keyof CSSStyleDeclaration)[]

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"

forcetype

string

Optional values

values?: string[]

The CSS values that should cause the penalty to be applied. The penalty is applied if any of the values matches.

nodefault

Generated using TypeDoc