Skip to main content

module salix::lib::Bootstrap

rascal-0.40.17
drambiguity-0.3.5

Usage

import salix::lib::Bootstrap;

Source code

http://github.com/cwi-swat/drambiguity/blob/main/src/salix/lib/Bootstrap.rsc

Dependencies

extend salix::HTML;
extend salix::Node;
import salix::Core;

data ColSize

data ColSize  
= xsm()
| sm()
| md()
| lg()
| xl()
;

function colsize

str colsize(xsm())

str colsize(sm())

str colsize(md())

str colsize(lg())

str colsize(xl())

alias Column

void (int, ColSize)

function container

void container(bool fluid, value vals...)

function row

void row(value vals...)

function column

void column(int width, ColSize colSize, value vals...)

function alert

void alert(str infoWarningDanger, str message)

function alertDanger

void alertDanger(str message)

function alertInfo

void alertInfo(str message)

function alertWarning

void alertWarning(str message)

function alertSuccess

void alertSuccess(str message)

function role

Attr role(str r)

function scope

Attr scope(str sc)

function dataToggle

Attr dataToggle(str t)

function \data-toggle

Attr \data-toggle(str t)

function tab

Attr tab()

function dropdown

Attr dropdown()

function hasPopup

Attr hasPopup(bool v)

function expanded

Attr expanded(bool v)

function labeledBy

Attr labeledBy(str l)

function disabled

Attr disabled()

function paragraph

void paragraph(str x)