mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4231 - For Message
This commit is contained in:
parent
bebf00fc64
commit
c6e5e3db3d
2 changed files with 5 additions and 1 deletions
4
components/lib/message/Message.d.ts
vendored
4
components/lib/message/Message.d.ts
vendored
|
@ -66,6 +66,10 @@ export interface MessagePassThroughOptions {
|
|||
* @see {@link BaseComponent.ComponentHooks}
|
||||
*/
|
||||
hooks?: ComponentHooks;
|
||||
/**
|
||||
* Used to control Vue Transition API.
|
||||
*/
|
||||
transition?: any;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<transition name="p-message" appear>
|
||||
<transition name="p-message" appear v-bind="ptm('transition')">
|
||||
<div v-show="visible" :class="cx('root')" role="alert" aria-live="assertive" aria-atomic="true" v-bind="ptm('root')" data-pc-name="message">
|
||||
<div :class="cx('wrapper')" v-bind="ptm('wrapper')">
|
||||
<slot name="messageicon" class="p-message-icon">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue