added move up transition for Notice

#30
This commit is contained in:
Rijn 2017-02-14 15:27:30 -06:00
parent 0b1b650da3
commit be0769d475
5 changed files with 68 additions and 1 deletions

19
test/routers/notice.vue Normal file
View file

@ -0,0 +1,19 @@
<template>
<i-button @click="pop">Pop</i-button>
</template>
<script>
export default {
methods: {
pop () {
for (let i = 0; i < 6; i++) {
setTimeout(() => {
this.$Notice.open({
title: 'test',
duration: 1.5 + i
});
}, i * 500);
}
}
}
}
</script>