Colibrio Reader Framework API - Cloud license
    Preparing search index...
    interface ICustomCssValuePenalizerRule {
        numericValueCondition?: ICustomCssValuePenalizerNumericCondition;
        penalty: number;
        properties: (keyof CSSStyleDeclaration)[];
        values?: string[];
    }

    Properties

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

    penalty: number
    properties: (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"

    string

    values?: string[]

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