Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/listGroup.d"

Index

Type aliases

IListGroupItemTypes

IListGroupItemTypes: { Danger: number; Dark: number; Info: number; Light: number; Primary: number; Secondary: number; Success: number; Warning: number }

List Group Item Types

Type declaration

  • Danger: number
  • Dark: number
  • Info: number
  • Light: number
  • Primary: number
  • Secondary: number
  • Success: number
  • Warning: number

Variables

Const ListGroup

ListGroup: (props: IListGroupProps) => IListGroup
import { Components } from "gd-sprest-bs";

// Create the listGroup
let el = document.querySelector("#listGroup");
let listGroup = Components.listGroup({
    el: el,
    colWidth: 4,
    isTabs: true,
    items: [
        { tabName: "Tab 1", content: "This is the content for tab 1.", isActive: true },
        { tabName: "Tab 2", content: "This is the content for tab 2.", badge: { content: "10", type: 4 } },
        { tabName: "Tab 3", content: "This is the content for tab 3." },
        { tabName: "Tab 4", content: "This is the content for tab 4." },
        { tabName: "Tab 5", content: "This is the content for tab 5." }
    ]
});

Type declaration

Const ListGroupItemTypes

ListGroupItemTypes: IListGroupItemTypes

List Group Item Types

Generated using TypeDoc