Skip to content

Instantly share code, notes, and snippets.

View bekliev's full-sized avatar
😉
Babe! How ya doin?

IBRAGIM (PARVIZ BEKLIEV) bekliev

😉
Babe! How ya doin?
View GitHub Profile
@bekliev
bekliev / SomeComponent.vue
Last active December 11, 2020 10:07 — forked from stwilz/curryMapGetters.js
A curry utility for passing additional arguments to `mapGetters`.
<template>
<section class="media-list">
<media-table
:rows="list.list"
:sord="list.order.sord"
:sidx="list.order.sidx"
:page="list.pagination.page"
:perPage="list.pagination.perPage"
:total="list.total"
@bekliev
bekliev / debounce.js
Last active March 10, 2020 01:56 — forked from lstanard/waitForFinalEvent()
debounce ES6
// Run callback with delay
const debounce = (delay, callback) => {
let timer;
return function() {
if (timer) clearTimeout(timer);
timer = setTimeout(() => callback.apply(this, arguments), delay);
};
};