plwalters / aurelia-bs-modal

DEPRECATED - Aurelia plugin for bootstrap modal
MIT License
17 stars 16 forks source link

Large and small modals #10

Open peebles opened 9 years ago

peebles commented 9 years ago

I'd like to see some kind of support form modal-lg and modal-sm. Perhaps transferring any attached classes on to the div with class="modal-dialog". Or perhaps another binding:

<modal showing.bind="showing" size.bind="lg">

Perhaps even allowing the consumer of this plugin to supply their own "modal.html" template, for maximum flexibility.

plwalters commented 9 years ago

Supplying their own templates is 100% the goal of this project. The reason using content selectors is so powerful is that we want to provide the author the ability to provide override templates at will. As far as the various sizes right now odds are that we will continue to supply a default and allow the author to extend them.