1.4.6 • Published 9 years ago

koco-confirm-modal v1.4.6

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

koco-confirm-modal

Confirmation modal for Knockout. Used to display a confirm/cancel modal.

Installation

bower install koco-confirm-modal

Requires koco-modaler also be instantiated within the project.

Usage with koco

The modaler must be registered, by convention in `components.js'

modaler.registerModal('confirm', {
    backdrop: 'static',
    keyboard: false,
    basePath: 'bower_components/koco-confirm-modal/src'
});

To use it:

modaler.show('confirm', {
    message: 'Are you sure you want to quit?',
    okButtonHtml: 'Quit'
});

Note: Currently the cancel button will always appear in French. Localization to come.

1.4.6

9 years ago

1.4.5

9 years ago

1.4.4

10 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