Class name

E.bootstrap.heading (0.2.0)

Methods

Method Parameters Returns Description Example
attr key, value this Add attribute key/value to component attr('id','myheading')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
primary any buildable this Add main content to component primary('Main heading')
secondary any buildable this Add secondary content to component secondary('Secondary text')

Examples

Default

h1. Heading One

Default with secondary text

h1. Heading One Secondary text

Last modified: 2016-02-05