Animate for windows alert * ?

its for window

webix.protoUI({
  name:"kontakty", 
  $init:function(){
    this.$ready.push(function(){
      this.attachEvent("onShow", function(){
        this.$view.className = this.$view.className.split("animated")[0] + " animated fadeInRight";  
      })
      this.attachEvent("onHide", function(){
        this.$view.style.display = "block";
        this.$view.className += " animated fadeOutDown";  
      })
    });
  }
}, webix.ui.window);

how this example attach to window alert

webix.alert(greeting + "<br>" +jsonResponse.first_name);

? thx.

anybody know?

up

Hello,

webix.alert() returns an html element. But this container is detached on button click. So, there is not an easy approach to animate “alert”.
You can create a modal window instead.

okey, thanks.