-

   rss_rss_hh_new

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 51

:


[ ] Noty.js V3 javascript . vuejs

, 13 2017 . 17:24 +


, none-block .


Nedim ARABACI Co-founder, CEO WHODIDTHIS.IO
Github: @needim

Noty.js V3


! notyjs. 2012 .

jQuery, JS.

import Noty from 'noty';
new Noty({
    text: 'Some notification text',
}).show();

css animate.css, mojs, bounce.js, velocity .

new Noty({
    text: 'Some notification text',
    animation: {
        open : 'animated fadeInRight',
        close: 'animated fadeOutRight'
    }
}).show();

.

3.1 BETA Web Push .

11 5 .


. , vue-notifications + mini-toastr. , . noty.js. , .

, , - . noty, , . , .



p.s. , .

Vue.js noty.js


. vuejs, vue-notice :

//       
this.$notice.info("New version of the app is available!")

// ,    
//     
this.$notice.info("Hey! Something very important here...", {
  timeout: 6000,
  layout: 'topLeft'
})

, .

, , .

.
Original source: habrahabr.ru (comments, light).

https://habrahabr.ru/post/333006/

:  

: [1] []
 

:
: 

: ( )

:

  URL