1.4.4 • Published 9 years ago

koco-modal v1.4.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

DEPRECATED: Now comes within koco-modaler

koco-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.registerComponent('modal', {
  htmlOnly: true,
  basePath: 'bower_components/koco-modal/src'
});
...

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.

<modal>
  <h1>My awesome modal title</h1>
  <p>Some cool description...</p>
</modal>

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.

1.4.4

9 years ago

1.4.3

10 years ago

1.4.2

10 years ago

1.4.1

10 years ago

1.4.0

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago