From 718286f901a01bf52173a92015736e8175471006 Mon Sep 17 00:00:00 2001 From: Adriel Cavalcanti Date: Fri, 4 Sep 2020 20:48:36 -0300 Subject: [PATCH] new options: onRender, onConfirm and onCancel --- dist/js/cookies-notification.min.js | 2 +- dist/js/cookies-notification.min.js.map | 2 +- src/js/CookiesNotification.js | 44 +++++++++++++++++++++++-- 3 files changed, 44 insertions(+), 4 deletions(-) diff --git a/dist/js/cookies-notification.min.js b/dist/js/cookies-notification.min.js index 9dbd962..3b45519 100644 --- a/dist/js/cookies-notification.min.js +++ b/dist/js/cookies-notification.min.js @@ -1,2 +1,2 @@ -!function r(s,c,a){function l(t,e){if(!c[t]){if(!s[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(u)return u(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var o=c[t]={exports:{}};s[t][0].call(o.exports,function(e){return l(s[t][1][e]||e)},o,o.exports,r,s,c,a)}return c[t].exports}for(var u="function"==typeof require&&require,e=0;e this.showElement(), 750); + setTimeout(() => { + this.showElement(); + this.onRender(); + }, 750); } }