1.0.1 • Published 6 years ago
@hoksi/vuedialog v1.0.1
import Dialog from "@hoksi/vuedialog";
Vue.use(Dialog);
this.$dialog({ title: "title", content: "content",callback:function(){
} });
this.$confirm({
title: "title?",
yestitle:"OK",
notitle:"CANCEL",
callback: function(result) {
//result == true or result==false
}
});
this.$prompt({
title: "title",
defaultvalue:"",
yestitle:"OK",
notitle:"CANCEL"
callback: function(name) {
}
});