mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4728 - Change slot parameter function name on* to *CallBack
This commit is contained in:
parent
6f342ad243
commit
2cc5e637ae
14 changed files with 69 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div :class="[cx('container'), message.styleClass]" role="alert" aria-live="assertive" aria-atomic="true" v-bind="ptm('container')">
|
||||
<component v-if="templates.container" :is="templates.container" :message="message" :onClose="onCloseClick" />
|
||||
<component v-if="templates.container" :is="templates.container" :message="message" :onClose="onCloseClick" :closeCallback="onCloseClick" />
|
||||
<div v-else :class="[cx('content'), message.contentStyleClass]" v-bind="ptm('content')">
|
||||
<template v-if="!templates.message">
|
||||
<component :is="templates.icon ? templates.icon : iconComponent && iconComponent.name ? iconComponent : 'span'" :class="cx('icon')" v-bind="ptm('icon')" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue