import { Components } from "gd-sprest-bs";// Create the cardGrouplet el = document.querySelector("#cardGroup");let cardGroup = Components.CardGroup({ el: el, cards: [ { body: [ { title: "Card 1", subTitle: "SubTitle 1", text: "This is the first card." } ] }, { body: [ { title: "Card 2", subTitle: "SubTitle 2", text: "This is the second card." } ] }, { body: [ { title: "Card 3", subTitle: "SubTitle 3", text: "This is the third card." } ] } ]}); Copy
import { Components } from "gd-sprest-bs";// Create the cardGrouplet el = document.querySelector("#cardGroup");let cardGroup = Components.CardGroup({ el: el, cards: [ { body: [ { title: "Card 1", subTitle: "SubTitle 1", text: "This is the first card." } ] }, { body: [ { title: "Card 2", subTitle: "SubTitle 2", text: "This is the second card." } ] }, { body: [ { title: "Card 3", subTitle: "SubTitle 3", text: "This is the third card." } ] } ]});
Optional
Generated using TypeDoc
Card Group