• Publicity: Public Only All

bootstrap-procs.tcl

bootstrap procs: provide some (initial) support for bootstrap library

Location:
packages/xowiki/tcl/bootstrap-procs.tcl
Created:
2014-04-14
Authors:
Günter Ernst
Gustaf Neumann
CVS Identification:
$Id: bootstrap-procs.tcl,v 1.16 2024/10/27 18:23:48 gustafn Exp $

Procedures in this file

Detailed information

xowiki::bootstrap::card (public)

 xowiki::bootstrap::card -title title -body body [ -CSSclass CSSclass ]

Render a Bootstrap Card.

Switches:
-title (required)
-body (required)
-CSSclass (optional)
Returns:
HTML

Testcases:
No testcase defined.

xowiki::bootstrap::icon (public)

 xowiki::bootstrap::icon -name name [ -style style ] \
    [ -CSSclass CSSclass ]

Render a Bootstrap Icon.

Switches:
-name (required)
-style (optional)
-CSSclass (optional)
Returns:
HTML

Testcases:
No testcase defined.

xowiki::bootstrap::modal_dialog (public)

 xowiki::bootstrap::modal_dialog -id id -title title \
    [ -subtitle subtitle ] -body body

Generic modal dialog wrapper.

Switches:
-id (required)
-title (required)
HTML markup for the modal title (can contain tags)
-subtitle (optional)
HTML markup for the modal subtitle (can contain tags)
-body (required)
HTML markup for the modal body (can contain tags)
Returns:
HTML markup

Testcases:
No testcase defined.

xowiki::bootstrap::modal_dialog_popup_button (public)

 xowiki::bootstrap::modal_dialog_popup_button -target target \
    -label label [ -title title ] [ -CSSclass CSSclass ]

Generic modal dialog wrapper.

Switches:
-target (required)
ID of the target modal dialog
-label (required)
HTML markup for the modal popup label (can contain tags)
-title (optional)
title for the anchor (help popup), plain text
-CSSclass (optional)
Returns:
HTML markup

Testcases:
No testcase defined.
[ show source ]