koco-modaler
DEPRECATED: Now comes withinkoco-modal
Modal wrapper when creating a new modal using the koco generator.
Installation
bower install koco-modal
Usage with KOCO
The koco-modal
can be initialized using the knockout-utilities registerComponent
function like so:
// components.js...koUtilities;...
Creating a modal
Now that the component is registered, a new html tag named <modal>
will be available to be used and will initialize a bootstrap modal.
My awesome modal title Some cool description...
Remarks
This component does not register your new modal, it is just a wrapper for the bootstrap html needed to create a modal. You still need to use modaler.