Skip to main content

module salix::lib::Bootstrap

rascal-0.43.0
org.rascalmpl.drambiguity-0.4.0

Usage​

import salix::lib::Bootstrap;

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)