We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
header-html
footer-html
1 parent ae84118 commit f378aefCopy full SHA for f378aef
src/components/card/card.js
@@ -58,7 +58,7 @@ export const BCard = /*#__PURE__*/ Vue.extend({
58
}
59
60
61
- if (props.header || hasNormalizedSlot('header', $scopedSlots, $slots)) {
+ if (props.header || props.headerHtml || hasNormalizedSlot('header', $scopedSlots, $slots)) {
62
header = h(
63
BCardHeader,
64
{ props: pluckProps(headerProps, props) },
@@ -72,7 +72,7 @@ export const BCard = /*#__PURE__*/ Vue.extend({
72
content = [h(BCardBody, { props: pluckProps(bodyProps, props) }, [...content])]
73
74
75
- if (props.footer || hasNormalizedSlot('footer', $scopedSlots, $slots)) {
+ if (props.footer || props.footerHtml || hasNormalizedSlot('footer', $scopedSlots, $slots)) {
76
footer = h(
77
BCardFooter,
78
{
0 commit comments