Class name

E.bootstrap.button (0.2.0)

Methods

Method Parameters Returns Description Example
child any buildable this Add content to component child('Success')
attr key, value this Add attribute key/value to component attr('id','mybutton')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
mode valid mode
plus link
this Set mode (.btn-{{mode}}) mode('primary')
size valid size this Set size (.btn-{{size}}) size('lg')
state valid state this Set state (.{{state}}) state('disabled')

Examples

Default
Primary
Default large
Last modified: 2016-02-05