Class name

E.bootstrap.panel (0.2.0)

Methods

Method Parameters Returns Description Example
attr key, value this Add attribute key/value to component attr('id','mypanel')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
mode valid mode this Set mode (.panel-{{mode}}) mode('primary')
header any buildable this Add header to component header('Panel name')
body any buildable this Add body to component body('Panel body')
footer any buildable this Add footer to component footer('Panel footer')

Examples

Default content only
Panel content
Default header + content

Panel title

Panel content
Default content + footer
Panel content
Default everything

Panel title

Panel content
Danger content only
There is danger here
Last modified: 2016-02-05