getFilter(hierarchyName: String): FilterObject
[starting from version: 1.4]
Returns the FilterObject for the specified hierarchy.
hierarchyName
– String. The name of the hierarchy.FilterObject that contains filtering information.
flexmonster.setFilter("Category", { "members": [ "category.[bikes]", "category.[cars]" ] } ); flexmonster.getFilter('Category'); /* method getFilter() returns the following object: { "members": [ "category.[bikes]", "category.[cars]" ] } */
Try the example on JSFiddle.