Skip to content

Instantly share code, notes, and snippets.

View pinguinjkeke's full-sized avatar

Alexander Avakov pinguinjkeke

  • RingCentral
  • Valencia, España
View GitHub Profile
import createTextMaskInputElement from '../../node_modules/text-mask-core/src/createTextMaskInputElement.js'
export default {
// Input event callback will be stored in this variable
// because we'll need it for unbind method
callback: null,
bind (el, binding, vnode) {
// Check for empty value is good for list rendering (some inputs has no masks)
@pinguinjkeke
pinguinjkeke / Pagination\MaterializeCssPresenter.php
Created August 13, 2016 19:40
Laravel MaterializeCss pagination presenter
<?php
namespace App\Pagination;
use Illuminate\Pagination\BootstrapThreePresenter;
use Illuminate\Support\HtmlString;
class MaterializeCssPresenter extends BootstrapThreePresenter
{
/**