Menu

class: BsPageLink

[1106:7] extends: A

Bootstrap page link. The anchor element inside a BsPageItem. Extends A.

Methods

  • BsPageLink (string Text, string Href = "#")

    Creates a Bootstrap page link.

    • @p Text is a string with the link label.
    • @p Href is an optional string with the page URL. Defaults to '#'.
    • @r This object.

class: BsBreadcrumb

[501:7] extends: Nav

Bootstrap breadcrumb navigation container. Extends Nav.

Members

  • items

Methods

  • BsBreadcrumb ()

    Creates a Bootstrap breadcrumb nav.

    • @r This object.
  • addItem (object Item)

    Adds a breadcrumb item to the nav.

    • @p Item is a BsBreadcrumbItem to add.
    • @r This object.

class: BsProgressBar

[1141:7] extends: Div

Bootstrap progress bar fill. Must be placed inside a BsProgress. Extends Div.

Methods

  • BsProgressBar (int Value = 0, int Min = 0, int Max = 100, string Label = null, string Variant = null, bool Striped = false, bool Animated = false)

    Creates a Bootstrap progress bar fill.

    • @p Value is an int with the current progress value.
    • @p Min is an optional int with the minimum value. Defaults to 0.
    • @p Max is an optional int with the maximum value. Defaults to 100.
    • @p Label is an optional string with an accessible or visible label.
    • @p Variant is an optional bsVariant enum for the bar color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Striped is an optional bool; true adds a striped pattern.
    • @p Animated is an optional bool; true animates the stripes.
    • @r This object.

class: BsRange

[2034:7] extends: Range

Bootstrap range slider input. Extends Range.

Methods

  • BsRange (string Id, Min = 0, Max = 100, Step = null, string Value = null)

    Creates a Bootstrap range slider.

    • @p Id is a string with the input name and element ID.
    • @p Min is an optional number for the minimum value. Defaults to 0.
    • @p Max is an optional number for the maximum value. Defaults to 100.
    • @p Step is an optional number for the increment step.
    • @p Value is an optional string with the initial value.
    • @r This object.

class: BsTableHeadCell

[428:7] extends: Th

Bootstrap table header cell. Extends Th.

Methods

  • BsTableHeadCell (string Text = null)

    Creates a Bootstrap table header cell.

    • @p Text is an optional string with the header cell content.
    • @r This object.

class: BsTableCell

[410:7] extends: Td

Bootstrap table data cell. Extends Td.

Methods

  • BsTableCell (string Text = null, string Variant = null)

    Creates a Bootstrap table data cell.

    • @p Text is an optional string with the cell content.
    • @p Variant is an optional bsVariant enum for the cell color. (primary, secondary, success, danger, warning, info, light, dark)
    • @r This object.

class: BsFormHelp

[1736:7] extends: Div

Bootstrap form help text. Displays a hint below a form field. Extends Div.

Methods

  • BsFormHelp (string Id, string TextData)

    Creates Bootstrap form help text.

    • @p Id is a string with the element ID.
    • @p TextData is a string with the help text.
    • @r This object.

class: BsListGroup

[802:7] extends: Ul

Bootstrap list group. A series of styled list items. Extends Ul.

Methods

  • BsListGroup (bool Flush = false, bool Horizontal = false)

    Creates a Bootstrap list group.

    • @p Flush is an optional bool; true removes the border and rounded corners for a flush appearance inside another element.
    • @p Horizontal is an optional bool; true lays items side by side.
    • @r This object.

class: BsSelect

[1877:7] extends: Select

Bootstrap select dropdown. A styled HTML select element. Extends Select.

Methods

  • BsSelect (string Id, string Size = null, bool Multiple = false)

    Creates a Bootstrap select dropdown.

    • @p Id is a string with the select name and element ID.
    • @p Size is an optional bsSize enum for the select height. (sm, lg)
    • @p Multiple is an optional bool; true allows multiple selections.
    • @r This object.

class: BsNavLink

[890:7] extends: A

Bootstrap nav link. The clickable anchor element inside a BsNavItem. Extends A.

Methods

  • BsNavLink (string Text, string Href = "#", bool Active = false, bool Disabled = false)

    Creates a Bootstrap nav link.

    • @p Text is a string with the link label.
    • @p Href is an optional string with the link URL.
    • @p Active is an optional bool; true marks the link as the current page.
    • @p Disabled is an optional bool; true grays out the link.
    • @r This object.

class: BsBreadcrumbItem

[532:7] extends: Span

Bootstrap breadcrumb item. Represents a single step in the breadcrumb trail. Extends Span.

Methods

  • BsBreadcrumbItem (string Text, string Href = null, bool Active = false)

    Creates a Bootstrap breadcrumb item.

    • @p Text is the string label for this breadcrumb step.
    • @p Href is an optional string URL. Omit for the active item.
    • @p Active is an optional bool; true marks this as the current page.
    • @r This object.

class: BsToastHeader

[1628:7] extends: Div

Bootstrap toast header. Contains the title and optional dismiss button for a BsToast. Extends Div.

Methods

  • BsToastHeader (string Title = null, string Subtitle = null, bool Dismissible = true)

    Creates a Bootstrap toast header.

    • @p Title is an optional string with the toast title.
    • @p Subtitle is an optional string with secondary text (e.g., a timestamp).
    • @p Dismissible is an optional bool; true adds a close button. Defaults to true.
    • @r This object.

class: BsNav

[851:7] extends: Ul

Bootstrap nav list. Base navigation component supporting tabs and pills styles. Extends Ul.

Methods

  • BsNav (string Style = null, bool Fill = false, bool Justified = false)

    Creates a Bootstrap nav.

    • @p Style is an optional bsNavStyle enum. (tabs, pills) Omit for a basic nav.
    • @p Fill is an optional bool; true expands items to fill all available width.
    • @p Justified is an optional bool; true makes all items equal width.
    • @r This object.

class: bsSpinnerType

[51:6] static extends: object

Bootstrap spinner types. (border, grow)

Members

  • border
  • grow

class: bsCardImgPos

[69:6] static extends: object

Bootstrap card image positions. (top, bottom, overlay)

Members

  • top
  • bottom
  • overlay

class: bsContainerSize

[23:6] static extends: object

Bootstrap container size breakpoints including fluid. (sm, md, lg, xl, xxl, fluid)

Members

  • sm
  • md
  • lg
  • xl
  • xxl
  • fluid

class: BsFormLabel

[1718:7] extends: Label

Bootstrap form label. Associates visible text with a form input control. Extends Label.

Methods

  • BsFormLabel (string Id, string TextData)

    Creates a Bootstrap form label.

    • @p Id is a string with the ID of the associated input element.
    • @p TextData is a string with the label text.
    • @r This object.

class: BsDropdownItem

[1364:7] extends: Span

Bootstrap dropdown item. A single option inside a BsDropdownMenu. Extends Span.

Methods

  • BsDropdownItem (string Text, string Href = "#", bool Active = false, bool Disabled = false)

    Creates a Bootstrap dropdown item.

    • @p Text is a string with the item label.
    • @p Href is an optional string URL. Defaults to '#'.
    • @p Active is an optional bool; true highlights this item.
    • @p Disabled is an optional bool; true disables the item.
    • @r This object.

class: BsModalContent

[1485:7] extends: Div

Bootstrap modal content wrapper. Contains the header, body, and footer sections. Extends Div.

Methods

  • BsModalContent ()

    Creates a Bootstrap modal content div.

    • @r This object.

class: BsAlert

[447:7] extends: Div

Bootstrap alert message box. Supports all color variants and an optional dismiss button. Extends Div.

Methods

  • BsAlert (string Variant = "primary", string Message = null, bool Dismissible = false)

    Creates a Bootstrap alert.

    • @p Variant is a bsVariant enum for the alert color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Message is an optional string with the alert message.
    • @p Dismissible is an optional bool; true adds a close button.
    • @r This object.

class: BsCard

[656:7] extends: Div

Bootstrap card. A flexible content container with optional header, body, footer, and image sections. Extends Div.

Methods

  • BsCard ()

    Creates a Bootstrap card.

    • @r This object.

class: BsInputGroupText

[2101:7] extends: Span

Bootstrap input group text addon. A styled text label attached to an input inside a BsInputGroup. Extends Span.

Methods

  • BsInputGroupText (string Text)

    Creates a Bootstrap input group text addon.

    • @p Text is a string with the addon label.
    • @r This object.

class: BsNavItem

[875:7] extends: Span

Bootstrap nav item. A list item wrapper inside a BsNav. Extends Span.

Methods

  • BsNavItem ()

    Creates a Bootstrap nav item.

    • @r This object.

class: BsButtonToolbar

[637:7] extends: Div

Bootstrap button toolbar. Groups multiple button groups together. Extends Div.

Methods

  • BsButtonToolbar ()

    Creates a Bootstrap button toolbar.

    • @r This object.

class: BsModalDialog

[1462:7] extends: Div

Bootstrap modal dialog container. The inner sizing wrapper for a BsModal. Extends Div.

Methods

  • BsModalDialog (bool Scrollable = false, bool Centered = false, string Size = null)

    Creates a Bootstrap modal dialog container.

    • @p Scrollable is an optional bool; true allows scrolling the modal body independently.
    • @p Centered is an optional bool; true vertically centers the modal.
    • @p Size is an optional bsSize enum for the modal size. (sm, lg, xl)
    • @r This object.

class: BsCloseButton

[562:7] extends: Button

Bootstrap close button. A styled X button used to dismiss components such as alerts and modals. Extends Button.

Methods

  • BsCloseButton (string AriaLabel = "Close")

    Creates a Bootstrap close button.

    • @p AriaLabel is an optional accessible label string. Defaults to 'Close'.
    • @r This object.

class: BsListGroupItem

[823:7] extends: Span

Bootstrap list group item. A single item within a BsListGroup. Extends Span.

Methods

  • BsListGroupItem (string Text = null, string Variant = null, bool Active = false, bool Disabled = false)

    Creates a Bootstrap list group item.

    • @p Text is an optional string with the item text.
    • @p Variant is an optional bsVariant enum for the item color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Active is an optional bool; true highlights this item as selected.
    • @p Disabled is an optional bool; true grays out the item.
    • @r This object.

class: bsNavbarTheme

[90:6] static extends: object

Bootstrap navbar color scheme themes. (light, dark)

Members

  • light
  • dark

class: BsRadio

[1948:7] extends: Div

Bootstrap radio button. A self-contained form-check component with a labeled radio input. Extends Div.

Members

  • input

Methods

  • BsRadio (string Id, string Name, string LabelText, bool Checked = false, bool Disabled = false)

    Creates a Bootstrap radio button with a wrapper div and label.

    • @p Id is a string with the input element ID.
    • @p Name is a string with the radio group name.
    • @p LabelText is a string with the radio button label.
    • @p Checked is an optional bool; true selects this option by default.
    • @p Disabled is an optional bool; true disables the radio button.
    • @r This object.
  • getChecked ()

    Gets the checked state of the radio button.

    • @r A bool with true if checked, false otherwise.

class: bsSize

[11:6] static extends: object

Bootstrap responsive size breakpoints. (sm, md, lg, xl, xxl)

Members

  • sm
  • md
  • lg
  • xl
  • xxl

class: bsNavbarExpand

[99:6] static extends: object

Bootstrap navbar expand breakpoints. (sm, md, lg, xl, xxl)

Members

  • sm
  • md
  • lg
  • xl
  • xxl

class: BsFigure

[310:7] extends: Div

Bootstrap figure. Groups an image with a caption. Extends Div.

Methods

  • BsFigure (string Src, string Alt = null, string Caption = null)

    Creates a Bootstrap figure with image and optional caption.

    • @p Src is a string with the image source URL.
    • @p Alt is an optional string with the alternative text.
    • @p Caption is an optional string with the caption text.
    • @r This object.

class: bsButtonType

[128:6] static extends: object

Bootstrap button type attribute values. (button, submit, reset)

Members

  • button
  • submit
  • reset

class: BsNavbarBrand

[975:7] extends: A

Bootstrap navbar brand. The logo or site name link. Extends A.

Methods

  • BsNavbarBrand (string Text, string Href = "#")

    Creates a Bootstrap navbar brand link.

    • @p Text is a string with the brand label.
    • @p Href is an optional string with the brand URL. Defaults to '#'.
    • @r This object.

class: BsToast

[1599:7] extends: Div

Bootstrap toast notification. A lightweight, auto-dismissing alert. Extends Div.

Methods

  • BsToast (string Id, bool AutoHide = true, int Delay = 5000)

    Creates a Bootstrap toast.

    • @p Id is a string with the toast element ID.
    • @p AutoHide is an optional bool; false keeps the toast visible until dismissed. Defaults to true.
    • @p Delay is an optional int with the auto-hide delay in milliseconds. Defaults to 5000.
    • @r This object.

class: bsVariant

[36:6] static extends: object

Bootstrap color variant names. (primary, secondary, success, danger, warning, info, light, dark)

Members

  • primary
  • secondary
  • success
  • danger
  • warning
  • info
  • light
  • dark

class: BsPagination

[1052:7] extends: Nav

Bootstrap pagination nav. Wraps a list of page link items. Extends Nav.

Members

  • items

Methods

  • BsPagination (string Size = null)

    Creates a Bootstrap pagination nav.

    • @p Size is an optional bsSize enum for the pagination size. (sm, lg)
    • @r This object.
  • addItem (object Item)

    Adds a BsPageItem to the pagination list.

    • @p Item is a BsPageItem to add.
    • @r This object.

class: BsModalFooter

[1543:7] extends: Div

Bootstrap modal footer. The action button area at the bottom of a modal. Extends Div.

Methods

  • BsModalFooter ()

    Creates a Bootstrap modal footer.

    • @r This object.

class: BsAccordionItem

[1248:7] extends: Div

Bootstrap accordion item. A single collapsible section inside a BsAccordion. Extends Div.

Methods

  • BsAccordionItem (string ParentId, string ItemId, string Title, string Body, bool Open = false)

    Creates a Bootstrap accordion item.

    • @p ParentId is a string with the parent accordion ID, or null for always-open behavior.
    • @p ItemId is a string with a unique ID for this item.
    • @p Title is a string with the header button text.
    • @p Body is a string with the collapsible body content.
    • @p Open is an optional bool; true expands the item by default.
    • @r This object.

class: BsCardBody

[686:7] extends: Div

Bootstrap card body section. Extends Div.

Methods

  • BsCardBody ()

    Creates a Bootstrap card body.

    • @r This object.

class: BsProgress

[1126:7] extends: Div

Bootstrap progress bar wrapper. Contains one or more BsProgressBar components. Extends Div.

Methods

  • BsProgress ()

    Creates a Bootstrap progress bar wrapper.

    • @r This object.

class: BsDropdown

[1307:7] extends: Div

Bootstrap dropdown. A toggleable contextual overlay. Extends Div.

Methods

  • BsDropdown (string Direction = "dropdown")

    Creates a Bootstrap dropdown container.

    • @p Direction is an optional bsDropDirection enum. (dropdown, dropup, dropend, dropstart) Defaults to dropdown.
    • @r This object.

class: BsFormRow

[1755:7] extends: Div

Bootstrap form row helper. Wraps form elements with bottom margin spacing. Extends Div.

Methods

  • BsFormRow (Items = null)

    Creates a Bootstrap form row.

    • @p Items is an optional object or list of objects to add.
    • @r This object.

class: bsNavStyle

[60:6] static extends: object

Bootstrap nav styles. (tabs, pills)

Members

  • tabs
  • pills

class: BsBlockquote

[247:7] extends: Div

Bootstrap blockquote. Displays quoted text with an optional footer attribution. Extends Div.

Methods

  • BsBlockquote (string Text, string Footer = null)

    Creates a Bootstrap blockquote.

    • @p Text is the string with the quoted text.
    • @p Footer is an optional string with the attribution text.
    • @r This object.

class: BsPageItem

[1086:7] extends: Span

Bootstrap page item. A list item wrapping a BsPageLink. Extends Span.

Methods

  • BsPageItem (bool Active = false, bool Disabled = false)

    Creates a Bootstrap page item.

    • @p Active is an optional bool; true highlights as the current page.
    • @p Disabled is an optional bool; true disables the item.
    • @r This object.

class: BsCardHeader

[670:7] extends: Div

Bootstrap card header section. Extends Div.

Methods

  • BsCardHeader (string Text = null)

    Creates a Bootstrap card header.

    • @p Text is an optional string with the header text.
    • @r This object.

class: BsTextarea

[1858:7] extends: Textarea

Bootstrap textarea input. A multi-line text input. Extends Textarea.

Methods

  • BsTextarea (string Id, int Rows = 3, string Value = null)

    Creates a Bootstrap textarea.

    • @p Id is a string with the textarea name and element ID.
    • @p Rows is an optional int with the visible row count. Defaults to 3.
    • @p Value is an optional string with the initial text content.
    • @r This object.

class: BsTextField

[1778:7] extends: Input

Bootstrap text field input. A single-line plain text input. Extends Input.

Methods

  • BsTextField (string Id, string Value = null, string Placeholder = null)

    Creates a Bootstrap text input.

    • @p Id is a string with the input name and element ID.
    • @p Value is an optional string with the initial value.
    • @p Placeholder is an optional string shown when the field is empty.
    • @r This object.

class: BsLead

[231:7] extends: P

Bootstrap lead paragraph. Renders text slightly larger and lighter than body copy. Extends P.

Methods

  • BsLead (string Text = null)

    Creates a Bootstrap lead paragraph.

    • @p Text is an optional string with the paragraph text.
    • @r This object.

class: BsMuted

[273:7] extends: Span

Bootstrap muted text span. Renders text in a subdued gray color. Extends Span.

Methods

  • BsMuted (string Text = null)

    Creates a Bootstrap muted text span.

    • @p Text is an optional string with the text content.
    • @r This object.

class: BsCheckbox

[1899:7] extends: Div

Bootstrap checkbox. A self-contained form-check component with a labeled checkbox input. Extends Div.

Members

  • input

Methods

  • BsCheckbox (string Id, string LabelText, bool Checked = false, bool Disabled = false)

    Creates a Bootstrap checkbox with a wrapper div and label.

    • @p Id is a string with the input element ID.
    • @p LabelText is a string with the checkbox label.
    • @p Checked is an optional bool; true checks the box by default.
    • @p Disabled is an optional bool; true disables the checkbox.
    • @r This object.
  • getChecked ()

    Gets the checked state of the checkbox.

    • @r A bool with true if checked, false otherwise.
  • setChecked (bool Checked)

    Sets the checked state of the checkbox.

    • @p Checked is a bool with true to check, false to uncheck.
    • @r This object.

class: BsRow

[162:7] extends: Div

Bootstrap grid row. Must contain BsCol children. Extends Div.

Methods

  • BsRow (list Children = null)

    Creates a Bootstrap grid row.

    • @p Children is an optional list of child objects to add.
    • @r This object.

class: BsEmailField

[1797:7] extends: Email

Bootstrap email input field. Extends Email.

Methods

  • BsEmailField (string Id, string Value = null, string Placeholder = null)

    Creates a Bootstrap email input.

    • @p Id is a string with the input name and element ID.
    • @p Value is an optional string with the initial value.
    • @p Placeholder is an optional string shown when the field is empty.
    • @r This object.

class: BsTabPane

[928:7] extends: Div

Bootstrap tab pane. A single panel shown when its matching nav tab is active. Extends Div.

Methods

  • BsTabPane (string Id, bool Active = false)

    Creates a Bootstrap tab pane.

    • @p Id is a string with the pane element ID.
    • @p Active is an optional bool; true shows this pane initially.
    • @r This object.

class: BsTableHead

[365:7] extends: Thead

Bootstrap table header section. Extends Thead.

Methods

  • BsTableHead (string Variant = null)

    Creates a Bootstrap table head.

    • @p Variant is an optional bsVariant enum for the header color. (primary, secondary, success, danger, warning, info, light, dark)
    • @r This object.

class: BsFileInput

[2057:7] extends: FileInput

Bootstrap file input field. Extends FileInput.

Methods

  • BsFileInput (string Id, bool Multiple = false, list Accept = null)

    Creates a Bootstrap file input.

    • @p Id is a string with the input name and element ID.
    • @p Multiple is an optional bool; true allows selecting multiple files.
    • @p Accept is an optional list of accepted MIME types or extensions.
    • @r This object.

class: BsNavbarToggler

[992:7] extends: Button

Bootstrap navbar toggler button. Reveals collapsed nav content on smaller screens. Extends Button.

Methods

  • BsNavbarToggler (string Target)

    Creates a Bootstrap navbar toggler button.

    • @p Target is a string with the ID of the collapse target.
    • @r This object.

class: BsNavbarNav

[1034:7] extends: Ul

Bootstrap navbar nav list. A Ul that holds nav items inside a navbar. Extends Ul.

Methods

  • BsNavbarNav ()

    Creates a Bootstrap navbar nav list.

    • @r This object.

class: BsAccordion

[1209:7] extends: Div

Bootstrap accordion. A vertically collapsing list of items. Extends Div.

Members

  • accordionId
  • alwaysOpen

Methods

  • BsAccordion (string Id, bool AlwaysOpen = false)

    Creates a Bootstrap accordion.

    • @p Id is a string with the accordion element ID.
    • @p AlwaysOpen is an optional bool; true allows multiple items to stay open at the same time.
    • @r This object.
  • addItem (string Title, string Body, bool Open = false)

    Adds a BsAccordionItem to this accordion.

    • @p Title is a string with the item header text.
    • @p Body is a string with the item body text.
    • @p Open is an optional bool; true expands this item initially.
    • @r This object.

class: BsInputGroup

[2082:7] extends: Div

Bootstrap input group. Attaches addons (text, buttons) to the sides of an input field. Extends Div.

Methods

  • BsInputGroup (string Size = null)

    Creates a Bootstrap input group.

    • @p Size is an optional bsSize enum for the input group size. (sm, lg)
    • @r This object.

class: BsDropdownToggle

[1324:7] extends: Button

Bootstrap dropdown toggle button. Opens and closes the dropdown menu when clicked. Extends Button.

Methods

  • BsDropdownToggle (string Text, string Variant = "primary")

    Creates a Bootstrap dropdown toggle button.

    • @p Text is a string with the button label.
    • @p Variant is a bsVariant enum for the button color. (primary, secondary, success, danger, warning, info, light, dark) Defaults to primary.
    • @r This object.

class: BsNumberField

[1835:7] extends: Number

Bootstrap number input field. Extends Number.

Methods

  • BsNumberField (string Id, string Value = null, Min = null, Max = null, Step = null)

    Creates a Bootstrap number input.

    • @p Id is a string with the input name and element ID.
    • @p Value is an optional string with the initial value.
    • @p Min is an optional number for the minimum allowed value.
    • @p Max is an optional number for the maximum allowed value.
    • @p Step is an optional number for the increment step.
    • @r This object.

class: BsTableRow

[394:7] extends: Tr

Bootstrap table row. Extends Tr.

Methods

  • BsTableRow (string Variant = null)

    Creates a Bootstrap table row.

    • @p Variant is an optional bsVariant enum for the row color. (primary, secondary, success, danger, warning, info, light, dark)
    • @r This object.

class: BsModalHeader

[1500:7] extends: Div

Bootstrap modal header. Contains the modal title and optional close button. Extends Div.

Methods

  • BsModalHeader (string Title = null, bool Dismissible = true)

    Creates a Bootstrap modal header.

    • @p Title is an optional string with the modal title text.
    • @p Dismissible is an optional bool; true adds a close button. Defaults to true.
    • @r This object.

class: BsCol

[182:7] extends: Div

Bootstrap grid column. Place inside a BsRow. Extends Div.

Methods

  • BsCol (string NumberOfCols = null, string Size = null)

    Creates a Bootstrap grid column.

    • @p NumberOfCols is an optional string with the column span width (1-12). Omit for an auto-width column.
    • @p Size is an optional bsSize enum breakpoint. (sm, md, lg, xl, xxl) Omit to apply at all sizes.
    • @r This object.

class: bsDropDirection

[79:6] static extends: object

Bootstrap dropdown direction variants. (dropdown, dropup, dropend, dropstart)

Members

  • dropdown
  • dropup
  • dropend
  • dropstart

class: BsCardTitle

[716:7] extends: H5

Bootstrap card title heading. Extends H5.

Methods

  • BsCardTitle (string Text = null)

    Creates a Bootstrap card title.

    • @p Text is an optional string with the title text.
    • @r This object.

class: BsCardGroup

[785:7] extends: Div

Bootstrap card group. Lays multiple cards side by side with equal width and height. Extends Div.

Methods

  • BsCardGroup ()

    Creates a Bootstrap card group.

    • @r This object.

class: BsCardFooter

[700:7] extends: Div

Bootstrap card footer section. Extends Div.

Methods

  • BsCardFooter (string Text = null)

    Creates a Bootstrap card footer.

    • @p Text is an optional string with the footer text.
    • @r This object.

class: BsModal

[1426:7] extends: Div

Bootstrap modal dialog. A layered dialog box displayed above the page content. Extends Div.

Members

  • modalSize

Methods

  • BsModal (string Id, bool Static = false, string Size = null)

    Creates a Bootstrap modal.

    • @p Id is a string with the modal element ID.
    • @p Static is an optional bool; true prevents closing the modal by clicking the backdrop.
    • @p Size is an optional bsSize enum for the modal size. (sm, lg, xl)
    • @r This object.
  • getModalSize ()

    Returns the size enum value stored for use by BsModalDialog.

    • @r The bsSize enum value or null.

class: BsDisplay

[211:7] extends: Div

Bootstrap display heading. Renders larger, decorative headings. Extends Div.

Methods

  • BsDisplay (string Level, string Text = null)

    Creates a Bootstrap display heading.

    • @p Level is a string with the display level (1-6).
    • @p Text is an optional string with the heading text.
    • @r This object.

class: BsTable

[340:7] extends: Table

Bootstrap table. Applies Bootstrap table styles to a standard HTML table element. Extends Table.

Methods

  • BsTable (string Variant = null, bool Striped = false, bool Hover = false, bool Bordered = false, bool Small = false)

    Creates a Bootstrap table.

    • @p Variant is an optional bsVariant enum for the table color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Striped is an optional bool; true adds alternating row shading.
    • @p Hover is an optional bool; true highlights rows on hover.
    • @p Bordered is an optional bool; true adds borders to all cells.
    • @p Small is an optional bool; true reduces cell padding.
    • @r This object.

class: BsImage

[292:7] extends: Img

Bootstrap image. Supports responsive, thumbnail, and rounded styles. Extends Img.

Methods

  • BsImage (string Src, string Alt = null, string Style = "fluid")

    Creates a Bootstrap image.

    • @p Src is a string with the image source URL.
    • @p Alt is an optional string with the alternative text.
    • @p Style is an optional string with the visual style. (fluid, thumbnail, rounded) Defaults to fluid.
    • @r This object.

class: bsToastPos

[112:6] static extends: object

Bootstrap toast container position values. (topStart, topCenter, topEnd, middleStart, middleCenter, middleEnd, bottomStart, bottomCenter, bottomEnd)

Members

  • topStart
  • topCenter
  • topEnd
  • middleStart
  • middleCenter
  • middleEnd
  • bottomStart
  • bottomCenter
  • bottomEnd

class: BsDropdownDivider

[1389:7] extends: Span

Bootstrap dropdown divider. A horizontal rule separating groups of dropdown items. Extends Span.

Methods

  • BsDropdownDivider ()

    Creates a Bootstrap dropdown divider.

    • @r This object.

class: BsForm

[1683:7] extends: Form

Bootstrap form wrapper. Manages form submission and field layout. Extends Form.

Methods

  • BsForm (string Action = null, string Method = "post")

    Creates a Bootstrap form.

    • @p Action is an optional string with the form submission URL.
    • @p Method is an optional string with the HTTP method. (get, post) Defaults to post.
    • @r This object.
  • addField (string DisplayName, object FormField, string HelpText = null)

    Adds a labeled form field row to the form.

    • @p DisplayName is a string with the field label text.
    • @p FormField is the input object to add.
    • @p HelpText is an optional string with hint text shown below the field.
    • @r This object.

class: BsButton

[581:7] extends: Button

Bootstrap button. Supports all color variants, outline style, sizes, and disabled state. Extends Button.

Methods

  • BsButton (string Variant = "primary", string Text = null, bool Outline = false, string Size = null, bool Disabled = false, string Type = "button")

    Creates a Bootstrap button.

    • @p Variant is a bsVariant enum for the button color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Text is an optional string with the button label.
    • @p Outline is an optional bool; true renders an outline-style button.
    • @p Size is an optional bsSize enum for the button size. (sm, lg)
    • @p Disabled is an optional bool; true disables the button.
    • @p Type is an optional bsButtonType enum for the button type attribute. (button, submit, reset) Defaults to button.
    • @r This object.

class: BsNavbar

[950:7] extends: Nav

Bootstrap navbar. A responsive navigation header. Extends Nav.

Methods

  • BsNavbar (string Theme = "light", string BgVariant = "light", string Expand = "lg")

    Creates a Bootstrap navbar.

    • @p Theme is an optional bsNavbarTheme enum. (light, dark) Defaults to light.
    • @p BgVariant is an optional bsVariant enum for the background color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Expand is an optional bsNavbarExpand enum for the breakpoint at which the navbar expands. (sm, md, lg, xl, xxl) Defaults to lg.
    • @r This object.

class: BsTabContent

[913:7] extends: Div

Bootstrap tab content wrapper. Contains BsTabPane children. Extends Div.

Methods

  • BsTabContent ()

    Creates a Bootstrap tab content wrapper.

    • @r This object.

class: BsDropdownMenu

[1346:7] extends: Ul

Bootstrap dropdown menu. The list of items revealed on toggle. Extends Ul.

Methods

  • BsDropdownMenu (bool AlignEnd = false)

    Creates a Bootstrap dropdown menu.

    • @p AlignEnd is an optional bool; true right-aligns the menu.
    • @r This object.

class: BsTableBody

[381:7] extends: Tbody

Bootstrap table body section. Extends Tbody.

Methods

  • BsTableBody ()

    Creates a Bootstrap table body.

    • @r This object.

class: BsModalBody

[1528:7] extends: Div

Bootstrap modal body. The main content area of a modal. Extends Div.

Methods

  • BsModalBody ()

    Creates a Bootstrap modal body.

    • @r This object.

class: BsBadge

[478:7] extends: Span

Bootstrap badge. A small label component for counts or status indicators. Extends Span.

Methods

  • BsBadge (string Variant = "primary", string Text = null, bool Pill = false)

    Creates a Bootstrap badge.

    • @p Variant is a bsVariant enum for the badge background color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Text is an optional string with the badge label.
    • @p Pill is an optional bool; true renders a pill-shaped badge.
    • @r This object.

class: BsDropdownHeader

[1406:7] extends: Span

Bootstrap dropdown header. A non-interactive label for a group of dropdown items. Extends Span.

Methods

  • BsDropdownHeader (string Text)

    Creates a Bootstrap dropdown header label.

    • @p Text is a string with the header text.
    • @r This object.

class: BsSwitch

[1987:7] extends: Div

Bootstrap switch. A toggle switch styled as a form-check with the switch role. Extends Div.

Members

  • input

Methods

  • BsSwitch (string Id, string LabelText, bool Checked = false)

    Creates a Bootstrap switch toggle.

    • @p Id is a string with the input element ID.
    • @p LabelText is a string with the switch label.
    • @p Checked is an optional bool; true turns the switch on by default.
    • @r This object.
  • getChecked ()

    Gets the checked state of the switch.

    • @r A bool with true if on, false if off.
  • setChecked (bool Checked)

    Sets the checked state of the switch.

    • @p Checked is a bool with true to turn on, false to turn off.
    • @r This object.

class: BsNavbarCollapse

[1017:7] extends: Div

Bootstrap navbar collapse wrapper. Contains nav items that collapse on small screens. Extends Div.

Methods

  • BsNavbarCollapse (string Id)

    Creates a Bootstrap navbar collapse div.

    • @p Id is a string with the element ID referenced by BsNavbarToggler.
    • @r This object.

class: BsSpinner

[1177:7] extends: Div

Bootstrap loading spinner. Displays an animated indicator while content is loading. Extends Div.

Methods

  • BsSpinner (string Type = "border", string Variant = null, string Size = null, string Label = "Loading...")

    Creates a Bootstrap spinner.

    • @p Type is an optional bsSpinnerType enum. (border, grow) Defaults to border.
    • @p Variant is an optional bsVariant enum for the spinner color. (primary, secondary, success, danger, warning, info, light, dark)
    • @p Size is an optional bsSize enum for a smaller spinner. (sm)
    • @p Label is an optional string with the accessible label. Defaults to 'Loading...'.
    • @r This object.

class: BsToastContainer

[1561:7] extends: Div

Bootstrap toast container. Positions toast notifications on the screen. Extends Div.

Methods

  • BsToastContainer (string Position = "bottomEnd")

    Creates a Bootstrap toast container.

    • @p Position is an optional bsToastPos enum for screen placement. (topStart, topCenter, topEnd, middleStart, middleCenter, middleEnd, bottomStart, bottomCenter, bottomEnd) Defaults to bottomEnd.
    • @r This object.

class: BsCardText

[746:7] extends: P

Bootstrap card text paragraph. Extends P.

Methods

  • BsCardText (string Text = null)

    Creates a Bootstrap card text paragraph.

    • @p Text is an optional string with the paragraph text.
    • @r This object.

class: BsCardImg

[762:7] extends: Img

Bootstrap card image. Positions an image at the top, bottom, or as an overlay inside a card. Extends Img.

Methods

  • BsCardImg (string Src, string Alt = null, string Position = "top")

    Creates a Bootstrap card image.

    • @p Src is a string with the image source URL.
    • @p Alt is an optional string with the alternative text.
    • @p Position is an optional bsCardImgPos enum. (top, bottom, overlay) Defaults to top.
    • @r This object.

class: BsCardSubtitle

[731:7] extends: H6

Bootstrap card subtitle heading. Extends H6.

Methods

  • BsCardSubtitle (string Text = null)

    Creates a Bootstrap card subtitle.

    • @p Text is an optional string with the subtitle text.
    • @r This object.

class: BsButtonGroup

[613:7] extends: Div

Bootstrap button group. Groups multiple buttons on a single line. Extends Div.

Methods

  • BsButtonGroup (bool Vertical = false, string Size = null)

    Creates a Bootstrap button group.

    • @p Vertical is an optional bool; true stacks buttons vertically.
    • @p Size is an optional bsSize enum for the group size. (sm, lg)
    • @r This object.

class: BsContainer

[141:7] extends: Div

Bootstrap container div. Wraps page content with a centered, fixed-width (or fluid) layout. Extends Div.

Methods

  • BsContainer (string Size = null)

    Creates a Bootstrap container.

    • @p Size is an optional bsContainerSize enum value for the container width. (sm, md, lg, xl, xxl, fluid) Omit for a default fixed-width container.
    • @r This object.

class: BsPasswordField

[1816:7] extends: Password

Bootstrap password input field. Extends Password.

Methods

  • BsPasswordField (string Id, string Value = null, string Placeholder = null)

    Creates a Bootstrap password input.

    • @p Id is a string with the input name and element ID.
    • @p Value is an optional string with the initial value.
    • @p Placeholder is an optional string shown when the field is empty.
    • @r This object.

class: BsFloatingLabel

[2121:7] extends: Div

Bootstrap floating label wrapper. Wraps an input and its label so the label floats above the input when focused or filled. Extends Div.

Methods

  • BsFloatingLabel (string LabelText, object InputField)

    Creates a Bootstrap floating label wrapper.

    • @p LabelText is a string with the floating label text.
    • @p InputField is the input object to wrap. The input must have an element ID set and a placeholder attribute.
    • @r This object.

class: BsToastBody

[1663:7] extends: Div

Bootstrap toast body. The main content area of a BsToast. Extends Div.

Methods

  • BsToastBody (string Text = null)

    Creates a Bootstrap toast body.

    • @p Text is an optional string with the toast message.
    • @r This object.