hibb-modal

Renders a modal.

Usage no npm install needed!

<script type="module">
  import hibbModal from 'https://cdn.skypack.dev/hibb-modal';
</script>

README

Huygens ING Backbone Modal

Renders a modal.

Example usage:

modal = new Modal
    title: "My title!"
    html: $('<div />').html('lalala')
    submitValue: 'OK'

modal.on 'cancel', => cancelAction()
modal.on 'submit', => modal.messageAndFade 'success', 'Modal submitted!'

Changelog