This commit is contained in:
mertsincan 2024-02-11 23:48:46 +00:00
parent bcb1b6eb8d
commit 9a82025215
9 changed files with 29 additions and 15 deletions

View file

@ -1,6 +1,6 @@
<template>
<Portal>
<div ref="container" :class="cx('root')" :style="sx('root', true, { position })" v-bind="{ ...$attrs, ...ptm('root') }">
<div ref="container" :class="cx('root')" :style="sx('root', true, { position })" v-bind="ptmi('root')">
<transition-group name="p-toast-message" tag="div" @enter="onEnter" @leave="onLeave" v-bind="{ ...ptm('message'), ...ptm('transition') }">
<ToastMessage
v-for="msg of messages"