Description

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

Methods


<static> init( [ options ] )

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

<static> 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:InvertPlugin.init

Throws

InvertConditionError, InvertOperatorError

Events


afterInvert

Description
Parameters
Name Type Description
node Node

the main group or rule that has been modified

options object