in lib/@uncharted.software/stories-facets/src/components/facet/facetHistogramFilter.js [26:66]
function FacetHistogramFilter (element, histogram) {
this._element = element;
this._histogram = histogram;
this._rangeFilter = element.find('.facet-range-filter');
this._leftHandle = this._rangeFilter.find('.facet-range-filter-left');
this._rightHandle = this._rangeFilter.find('.facet-range-filter-right');
this._currentRangeLabel = element.find('.facet-range-current');
this._pageLeft = element.find('.facet-page-left');
this._pageRight = element.find('.facet-page-right');
this._draggingLeft = false;
this._draggingLeftX = 0;
this._canDragLeft = false;
this._draggingRight = false;
this._draggingRightX = 0;
this._canDragRight = false;
this._pixelRange = {
from: 0,
to: 0
};
this._barRange = {
from: 0,
to: 0
};
this._maxBarRange = {
from: 0,
to: (histogram.bars.length - 1)
};
this._onFilterChanged = null;
this._initializeDragging();
this._initializePagination();
this._rangeFilter.removeClass('facet-range-filter-init');
}