File tree Expand file tree Collapse file tree 2 files changed +343
-66
lines changed
packages/bootstrap-vue-3/src/components/BCard Expand file tree Collapse file tree 2 files changed +343
-66
lines changed Original file line number Diff line number Diff line change 11<template >
22 <component :is =" tag" class =" card" :class =" classes" >
3- <!-- Img if on top -->
43 <b-card-img v-if =" imgSrc && !imgBottomBoolean" v-bind =" imgAttr" />
5- <!-- Header -->
64 <b-card-header
75 v-if =" header || $slots.header || headerHtml"
86 v-bind =" headerAttrs"
1210 {{ header }}
1311 </slot >
1412 </b-card-header >
15- <!-- Body -->
1613 <b-card-body v-if =" !noBodyBoolean" v-bind =" bodyAttrs" :class =" bodyClass" >
1714 <slot >
1815 {{ bodyText }}
2118 <slot v-else >
2219 {{ bodyText }}
2320 </slot >
24- <!-- Footer -->
2521 <b-card-footer
2622 v-if =" footer || $slots.footer || footerHtml"
2723 v-bind =" footerAttrs"
3127 {{ footer }}
3228 </slot >
3329 </b-card-footer >
34- <!-- Img if on bottom -->
3530 <b-card-img v-if =" imgSrc && imgBottomBoolean" v-bind =" imgAttr" />
3631 </component >
3732</template >
@@ -149,7 +144,7 @@ const bodyAttrs = computed(() => ({
149144
150145const footerAttrs = computed (() => ({
151146 bgVariant: props .footerBgVariant ,
152- borderVariant: props .borderVariant ,
147+ borderVariant: props .footerBorderVariant ,
153148 html: props .footerHtml ,
154149 tag: props .footerTag ,
155150 textVariant: props .footerTextVariant ,
You can’t perform that action at this time.
0 commit comments