Search¶
Source¶
Sass styles are in folder template_src/src/assets/sass/widgets/_search.sass
Jade source are in template_src/src/jade/partials/widgets/search.jade
Js initialization are in template_src/src/assets/js/demo.js
initSearch()
- function which init interaction in search widgetinitRangeSliders()
- function which initializes wide rangeSlider$('.js-in-select').select2();
- stylish standart selects with select2 pluginlocationTree.bonsai();
- builds tree jquery-qubitlocationTree.qubit();
- make tree checkboxes relation jquery-qubit
Variations¶
There are 6 variations of slider
search--index
wide search, full widthsearch--sidebar
search in sidebarsearch--map-sidebar
search in sidebar of mapsearch--map-bottom
search in bottom of mapsearch--map-dark
search in map, dark stylesearch--banner-sidebar
search in sidebar of banner