Class name

E.bootstrap.modal (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','mymodal')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
header any buildable this Add header to component header('Modal name')
footer any buildable this Add footer to component footer('Modal footer')
large this Set large mode (.modal-lg) large()
small this Set small mode (.modal-sm) small()
noclose this Hide close button in header noclose()

Examples

Default
Small
Footer
Last modified: 2016-02-05