Class filter

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(rules?: filterRulesDefinition): filter

Parameters

Returns

filter

Properties

public attributeNameRules: filterRulesGroup

public attributesRules: Object

public commentRules: filterRulesGroup

public elementNameRules: filterRulesGroup

public elementsRules: Object

public id: number

public rootRules: filterRulesGroup

public textRules: filterRulesGroup

Methods

public addRules(rules: filterRulesDefinition, options?: number)

Parameters

public addRules(rules: filterRulesDefinition, options?: { priority?: number; applyToAll?: boolean; })

Parameters

public applyTo(node: node)

Parameters