Files
ionic-framework/js/angular/directive/pane.js
2014-04-14 10:47:27 -06:00

19 lines
363 B
JavaScript

/**
* @ngdoc directive
* @name ionPane
* @module ionic
* @restrict E
*
* @description A simple container that fits content, with no side effects. Adds the 'pane' class to the element.
*/
IonicModule
.directive('ionPane', function() {
return {
restrict: 'E',
link: function(scope, element, attr) {
element.addClass('pane');
}
};
});