0👍
Create a div with the contents of the pop up. v-if the div and display it as required. Style the div using css.
<div v-if="displayPopUp">
<slot />
</div>
data() {
return {
displayPopUp = false
}
}
.then(()=>(this.displayPopUp = true))
Change value of displayPopUp after pop up action is completed.
- [Vuejs]-Access vue component getter in tupescript mixin error (TS2339)
- [Vuejs]-VueJS + Axios local JSON nested filtering
Source:stackexchange.com