filter.BaseFilter

filter. filter.BaseFilter

new filter.BaseFilter(type, value, defaultValue)

The Filter base class. This base class is not intended to be used directly but rather as a base class for filter implementations.
Parameters:
Name Type Argument Description
type string The type of Filter.
value mixed <optional>
Filter value.
defaultValue mixed <optional>
Default value if value is omitted.
Example
var filter = new filter.BaseFilter('blur', 1);
   var filter = new filter.BaseFilter('blur', 1, 2);