new Filter(options)
Controls/Editor/Filter.js, line 32
Name | Type | Description |
---|---|---|
options | Object |
options for function call. |
Example
var filter = new Filter ({
target : ...,
position : 1, // identifiant de position (unique !)
tools : {
edition : false
},
title : "Filtres (JSON)",
obj : {
filter : []
}
});
filter.add();
filter.display(true);
filter.getContainer();
Methods
-
add(){Object}
Controls/Editor/Filter.js, line 189 -
Add element into target DOM
Returns:
instance
-
display(display){Boolean}
Controls/Editor/Filter.js, line 213 -
Set display container or get
Name Type Description display Boolean show/hidden container or get status
-
getContainer(){DOMElement}
Controls/Editor/Filter.js, line 226 -
Get container (DOM)
Returns:
element