1.0.6 • Published 5 years ago
quasiris-search-data-picker v1.0.6
Search Date Picker - Fast and simple collection of search-specific browser events
Search Date Picker is awesome tool!
Getting started
Install Demo
npm run dev
Example Configuration
import SearchDataPicker from "quasiris-search-data-picker";
const contextResolver = new SearchDataPicker.ContextResolver(window, window.document);
const picker = new SearchDataPicker.Picker(
{
'contextResolver': contextResolver,
'endpoint': 'quasiris.de'
});
picker.add(new SearchDataPicker.ClickPicker('documents',
'body > div > section.products > div > div', {
'selectors': [
{
key: 'title',
selectors: '.info > h3'
},
{
key: 'price',
selectors: '.info > h5'
}
],
'attributes': [
{
key: 'id',
attributes: 'id'
},
{
key: 'class',
attributes: 'class'
}
]
}));
picker.start();