Bootstrap supports large modals via modal-lg, there does not seem to be a way I can find to do this using the modal component.
I had to do it in a bit of a hacky way like this:
export default Ember.View.extend({
didInsertElement: function() {
//Add the large class to the modal as the API does not support it
this.$().find('.modal-dialog').addClass('modal-lg');
}
});
Is there a better way of doing this or could this feature be added?
Bootstrap supports large modals via
modal-lg
, there does not seem to be a way I can find to do this using the modal component.I had to do it in a bit of a hacky way like this:
Is there a better way of doing this or could this feature be added?