Class name

E.bootstrap.p (0.2.0)

Methods

Method Parameters Returns Description Example
child any buildable this Add content to component child('Hello world')
attr key, value this Add attribute key/value to component attr('id','p1')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
bgmode valid mode this Set mode (.bg-{{mode}}) bgmode('primary')
textmode valid mode this Set mode (.text-{{mode}}) textmode('muted')
textcase valid case this Set mode (.text-{{case}}) textcase('capitalize')
align valid alignment this Set alignment (.text-{{align}}) align('center')
lead this Set lead body copy mode (.lead) lead()

Examples

Default

Hello world

Text mode

Hello world

Background mode

Hello world

Alignment

Hello world

Text case

Hello world

Lead copy

Hello world

Last modified: 2016-02-05