mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - Refactor on Toast
This commit is contained in:
parent
9b9444b6b0
commit
63b11df3fa
2 changed files with 13 additions and 28 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<Portal>
|
||||
<div ref="container" :class="cx('root')" v-bind="{ ...$attrs, ...ptm('root') }">
|
||||
<div ref="container" :class="cx('root')" :style="sx('root', true, { position })" v-bind="{ ...$attrs, ...ptm('root') }">
|
||||
<transition-group name="p-toast-message" tag="div" @enter="onEnter" @leave="onLeave" v-bind="ptm('message')">
|
||||
<ToastMessage
|
||||
v-for="msg of messages"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue