hibb-modal

1.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i hibb-modal

Weekly Downloads

0

Version

1.0.4

License

ISC

Last publish

Collaborators

  • gijsjan