Class: FiltersByDomain

(package) filtersByDomain.FiltersByDomain()

A FiltersByDomain object contains a set of domains, each mapped to a set of filters along with a boolean value for each filter indicating whether the filter should be applied to the domain.

Constructor

(package) new FiltersByDomain()

Source:

Methods

add(filter, domainsopt)

Adds a filter and all of its domains to the object.

Parameters:
Name Type Attributes Description
filter module:filterClasses.ActiveFilter

The filter.

domains Map.<string, boolean> <optional>

The filter's domains. If not given, the domains property of filter is used.

Source:

remove(filter, domainsopt)

Removes a filter and all of its domains from the object.

Parameters:
Name Type Attributes Description
filter module:filterClasses.ActiveFilter

The filter.

domains Map.<string, boolean> <optional>

The filter's domains. If not given, the domains property of filter is used.

Source: