mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5257
This commit is contained in:
parent
00c891a3e2
commit
0c6a35d280
9 changed files with 17 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<transition name="p-message" appear v-bind="ptm('transition')">
|
||||
<transition name="p-message" appear v-bind="ptmi('transition')">
|
||||
<div v-show="visible" :class="cx('root')" role="alert" aria-live="assertive" aria-atomic="true" v-bind="ptm('root')">
|
||||
<slot v-if="$slots.container" name="container" :onClose="close" :closeCallback="close"></slot>
|
||||
<div v-else :class="cx('wrapper')" v-bind="ptm('wrapper')">
|
||||
|
@ -32,6 +32,7 @@ import BaseMessage from './BaseMessage.vue';
|
|||
export default {
|
||||
name: 'Message',
|
||||
extends: BaseMessage,
|
||||
inheritAttrs: false,
|
||||
emits: ['close', 'life-end'],
|
||||
timeout: null,
|
||||
data() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue