Alert add prop: fade
This commit is contained in:
parent
02330edec5
commit
70f77072d7
2 changed files with 14 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<transition name="fade">
|
||||
<transition :name="fade ? 'fade' : ''">
|
||||
<div v-if="!closed" :class="wrapClasses">
|
||||
<span :class="iconClasses" v-if="showIcon">
|
||||
<slot name="icon">
|
||||
|
@ -43,6 +43,10 @@
|
|||
banner: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
fade: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue