src/components/ebay-pagination/index.js
function handlePageClick(originalEvent) {
    const target = originalEvent.target;
    emitAndFire(this, 'pagination-select', {
        originalEvent,
        el: target,
        value: target.innerText
    });
}
function handlePageClick(originalEvent) {
    const target = originalEvent.target;
    emitAndFire(this, 'pagination-select', {
        originalEvent,
        el: target,
        value: target.innerText
    });
}
function handlePageClick ( originalEvent ) { const target = originalEvent . target ; emitAndFire ( this , 'pagination-select' , { originalEvent , el : target , value : target . innerText } ) ; }
Handle normal mouse click for item, next page and previous page respectively.
@param {MouseEvent} event
Handle normal mouse click for item next page and previous page respectively .