extends ../../layouts/LayoutComponent
include ../../mixins/components/Collapse
append variables
-
var pageHeader = {
title: 'Collapse',
description: "Toggle the visibility of content with a few classes and Bootstrap's JavaScript plugins.",
url: `https://getbootstrap.com/docs/${bootstrapVersion}/components/collapse/`,
linkText: 'Collapse on Bootstrap'
}
block component
+PageHeader(pageHeader)
+ComponentCard({
title: 'Example',
anchor: true,
}).mb-3
+CollapseExampleDemo
+ComponentCard({
title: 'Multiple Targets',
anchor: true,
description:"A button or a can show and hide multiple elements by referencing them with a JQuery selecotro in its href or data-bs-target attribute."
})
+MultipleTargetsDemo