mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #3965 - Update Card-divider data-pc-* structure
This commit is contained in:
parent
7dc9a486db
commit
1d615bb05d
2 changed files with 8 additions and 8 deletions
|
@ -1,19 +1,19 @@
|
|||
<template>
|
||||
<div :class="cx('root')" v-bind="ptm('root')" data-pc-name="card" data-pc-section="root">
|
||||
<div v-if="$slots.header" :class="cx('header')" v-bind="ptm('header')" data-pc-section="header">
|
||||
<div :class="cx('root')" v-bind="ptm('root')">
|
||||
<div v-if="$slots.header" :class="cx('header')">
|
||||
<slot name="header"></slot>
|
||||
</div>
|
||||
<div :class="cx('body')" v-bind="ptm('body')" data-pc-section="body">
|
||||
<div v-if="$slots.title" :class="cx('title')" v-bind="ptm('title')" data-pc-section="title">
|
||||
<div v-if="$slots.title" :class="cx('title')">
|
||||
<slot name="title"></slot>
|
||||
</div>
|
||||
<div v-if="$slots.subtitle" :class="cx('subtitle')" v-bind="ptm('subtitle')" data-pc-section="subtitle">
|
||||
<div v-if="$slots.subtitle" :class="cx('subtitle')" v-bind="ptm('subtitle')">
|
||||
<slot name="subtitle"></slot>
|
||||
</div>
|
||||
<div :class="cx('content')" v-bind="ptm('content')" data-pc-section="content">
|
||||
<div :class="cx('content')" v-bind="ptm('content')">
|
||||
<slot name="content"></slot>
|
||||
</div>
|
||||
<div v-if="$slots.footer" :class="cx('footer')" v-bind="ptm('footer')" data-pc-section="footer">
|
||||
<div v-if="$slots.footer" :class="cx('footer')">
|
||||
<slot name="footer"></slot>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue