Files
ionic-framework/js/angular/directive/modalView.js
Andrew ed4f22889e feat(ionModalView): ion-modal-view to wrap template instead of <div class="modal">
Closes #1668.

`<div class="modal">` will still work, but adding an `<ion-modal-view>`
element to wrap a modal template is a more "Ionic Looking" way of doing
the same thing.
2014-07-07 13:43:12 -06:00

10 lines
169 B
JavaScript

IonicModule
.directive('ionModalView', function() {
return {
restrict: 'E',
compile: function(element, attr) {
element.addClass('modal');
}
};
});