• Creates a new parameter expression. The difference with number is that you can change the value of a parameter later on, and the styling will be updated to reflect the new value without having to re-create the expressions in which it is used. Only numbers may be used as value.

      var parameter = ExpressionFactory.numberParameter(47);
    ...
    parameter.value = 83;//Only ever assign numbers.

    Parameters

    • value: number

      The initial value of the parameter.

    Returns ParameterExpression<number>

    A parameter expression.