From 9b608b89b16953c8d717ed8fde02ae396eea6094 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Tue, 19 Dec 2017 19:10:01 +0530 Subject: * Webpack config changes * Updated documentation with example * removed unwanted dependencies from starter pack --- example/64x64.png | Bin 206 -> 0 bytes example/example.html | 17 ----------------- example/example.js | 38 -------------------------------------- 3 files changed, 55 deletions(-) delete mode 100644 example/64x64.png delete mode 100644 example/example.html delete mode 100644 example/example.js (limited to 'example') diff --git a/example/64x64.png b/example/64x64.png deleted file mode 100644 index d889069..0000000 Binary files a/example/64x64.png and /dev/null differ diff --git a/example/example.html b/example/example.html deleted file mode 100644 index 889c1c8..0000000 --- a/example/example.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - Vanilla Yo Notification - - - - - - - - - - \ No newline at end of file diff --git a/example/example.js b/example/example.js deleted file mode 100644 index 4500c70..0000000 --- a/example/example.js +++ /dev/null @@ -1,38 +0,0 @@ -(function(window){ - var notif = new VanillaYoNotification({ - position: ['bottom', 'left'] - }); - var counter = 0; - window.showNotificationSuccess = function(){ - - notif.show({ - title: 'Notification Title', - content: `This is a content ${counter}`, - timeout: 6000 - }); - - counter += 1; - } - window.showNotificationWarning = function(){ - - notif.show({ - title: 'Notification Title', - content: 'This is a content', - type: 'warning', - timeout: 1000 - }); - } - window.showNotificationError = function(){ - - notif.show({ - title: 'Notification Title', - content: 'This is a content with image ', - type: 'error', - timeout: 2000 - }); - } - - - - -})(window); \ No newline at end of file -- cgit v1.2.3