backbone.modal
backbone.modal copied to clipboard
A plugin for Backbone.js that simplifies creating modals for your application.
The default Backbone `delegateEvents()` includes a call to `undelegateEvents()` so that all events on the view will be refreshed when it's called inside `render()`. However, `delegateModalEvents()` does NOT include an...
Yarn complains: error [email protected]: The engine "node" is incompatible with this module. Expected version "0.8.x". E.g. I have version of node: '6.9.1'
I want to catch the keyCode for ESC in beforeCancel. It is possible in beforeSubmit. So why you dont pass the event to the beforeCancel Method in Modal.prototype.triggerCancel?
This modals has content-jumping problem when open/close. A known solution for this problem is `padding-right: 17px` for body when open. A better way is to set `.modal-open` class to body....
I'm trying to validate a form within a view when it is displayed. But the `onActive` event is triggered before the view has been attached to the page. Ideally I'd...
hey, first off.. we use backbone.modal really a lot, its so easy and has so much awesomeness, we build everything with marionette, so we are using the marionette region version...
The `undelegateModalEvents` function is not called when a modal is canceled or closed for another reason. It looks as though the modal checks if we have a `viewContainer`, here https://github.com/awkward/backbone.modal/blob/daed1808cd48626736b7b0e69d47841d0ebee36f/src/backbone.modal.coffee#L249...
When rendering a modal, you have the ability to pass in options to the `render` function: https://github.com/awkward/backbone.modal/blob/master/src/backbone.modal.coffee#L23. Then, these options are tested for existence and emptiness https://github.com/awkward/backbone.modal/blob/master/src/backbone.modal.coffee#L26. Then, later in...
All seems to work fine on my laptop (Chrome/Firefox/Safari) but when I try the same page using Safari on an iPad I get a completely blurred page and the modal...