new Invert( [ options ] )

Description

Allows to invert a rule operator, a group condition or the entire builder.

Parameters
Name Type Attributes Description
options object <optional>
Name Type Attributes Default Description
icon string <optional>
'glyphicon glyphicon-random'
recursive boolean <optional>
true
invert_rules boolean <optional>
true
display_rules_button boolean <optional>
false
silent_fail boolean <optional>
false

Methods


invert( [ node [, options ] ] )

Description

Invert a Group, a Rule or the whole builder

Parameters
Name Type Attributes Description
node Node <optional>
options object <optional>

module:plugins.Invert

Throws

InvertConditionError, InvertOperatorError

Events


afterInvert

Description

After module:plugins.Invert.invert method

Parameters
Name Type Description
node Node

the main group or rule that has been modified

options object