LogicGrid
The LogicGrid Class provides properties, methods, and events to interface with the Objects generated by the <silk:LogicGrid>
tag.
Kind: global class
Constructor
new LogicGrid(id)
Returns a LogicGrid instance.
Param
Type
Description
id
String
The LogicGrid unique identifier.
Methods
addAction(element, criteria)
Add an element and its criteria to the LogicGrid processor.
Kind: instance method of LogicGrid
Param
Description
element
the
criteria
getActions() ⇒ Array
Array
Returns an array containing the list of loaded actions.
Kind: instance method of LogicGrid
getStatus(criteria) ⇒ Boolean
Boolean
Returns the result of checking the the provided criteria.
Kind: instance method of LogicGrid
Param
Type
Description
criteria
Object
The criteria object to evualate.
run()
Executes the action in the loaded elements.
Kind: instance method of LogicGrid
setDebug(debug)
Activates the debuging messaging
Kind: instance method of LogicGrid
Param
Type
Description
debug
Boolean
The logic
Last updated