bootstrap-canjs
CanJS component wrapper around Tw Bootstrap JS components
Usage
Component use
You can import individual components. E.g. to use Bootstrap's modal do:
<!-- Place `bootstrap-modal` in a top-level position in your document. --> <!-- Use `bootstrap-modal-content` whenever you want in your app. --><!-- Once its rendered it will be shown within bootstrap-modal. -->Open my modal{{#if isOpened}} close Modal title One fine body {{/if}}
CommonJS use
Use require
to load bootstrap-canjs
and everything else
needed to create a template that uses bootstrap-canjs
:
var plugin = ;
Standalone use
Load the global
version of the plugin:
Release Notes
- v0.0.1:
- Added
bootstrap-modal
andbootstrap-modal-content
components.
- Added