mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Fixed #5020 - Add caption option to passthrough options on Card
This commit is contained in:
parent
4c57243a42
commit
8e1354d099
3 changed files with 12 additions and 5 deletions
|
@ -4,11 +4,13 @@
|
|||
<slot name="header"></slot>
|
||||
</div>
|
||||
<div :class="cx('body')" v-bind="ptm('body')">
|
||||
<div v-if="$slots.title" :class="cx('title')" v-bind="ptm('title')">
|
||||
<slot name="title"></slot>
|
||||
</div>
|
||||
<div v-if="$slots.subtitle" :class="cx('subtitle')" v-bind="ptm('subtitle')">
|
||||
<slot name="subtitle"></slot>
|
||||
<div v-if="$slots.title || $slots.subtitle" :class="cx('caption')" v-bind="ptm('caption')">
|
||||
<div v-if="$slots.title" :class="cx('title')" v-bind="ptm('title')">
|
||||
<slot name="title"></slot>
|
||||
</div>
|
||||
<div v-if="$slots.subtitle" :class="cx('subtitle')" v-bind="ptm('subtitle')">
|
||||
<slot name="subtitle"></slot>
|
||||
</div>
|
||||
</div>
|
||||
<div :class="cx('content')" v-bind="ptm('content')">
|
||||
<slot name="content"></slot>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue