new Rule( parent, $el )

Description

Rule object

Parameters
Name Type Description
parent Group
$el jQuery
Details

Members


<readonly> $el :jQuery

Details
jQuery

data :object

Details
object

error :string

Details
string

filter :QueryBuilder.Filter

Details

<readonly> flags :object

Details
object

<readonly> id :string

Details
string

<readonly> level :int

Details
int

<readonly> model :Model

Details

operator :QueryBuilder.Operator


<readonly> parent :Group

Details

value :*

Details
*

Methods


drop()

Description

Deletes self

Details

getPos() → {int}

Description

Returns the node position inside its parent

Returns
Details

isRoot() → {boolean}

Description

Checks if this Node is the root

Returns

always false

Details

move( target, index )

Description

Moves itself at specific position of Group

Parameters
Name Type Description
target Group
index int
Details

moveAfter( target )

Description

Moves itself after another Node

Parameters
Name Type Description
target Node
Details

moveAtBegin( [ target ] )

Description

Moves itself at the beginning of parent or another Group

Parameters
Name Type Attributes Description
target Group <optional>
Details

moveAtEnd( [ target ] )

Description

Moves itself at the end of parent or another Group

Parameters
Name Type Attributes Description
target Group <optional>
Details