mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Ionic content comments
This commit is contained in:
27
js/ext/angular/src/directive/ionicContent.js
vendored
27
js/ext/angular/src/directive/ionicContent.js
vendored
@ -1,30 +1,7 @@
|
|||||||
angular.module('ionic.ui.content', {})
|
angular.module('ionic.ui.content', {})
|
||||||
|
|
||||||
/*
|
// The content directive is a core scrollable content area
|
||||||
.directive('content', function() {
|
// that is part of many View hierarchies
|
||||||
return {
|
|
||||||
restrict: 'E',
|
|
||||||
replace: true,
|
|
||||||
template: '<div class="content"></div>'
|
|
||||||
}
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
.directive('content', function() {
|
|
||||||
return {
|
|
||||||
restrict: 'E',
|
|
||||||
replace: true,
|
|
||||||
transclude: true,
|
|
||||||
scope: {
|
|
||||||
hasHeader: '@',
|
|
||||||
hasTabs: '@'
|
|
||||||
},
|
|
||||||
template: '<div class="content" ng-class="{\'has-header\': hasHeader, \'has-tabs\': hasTabs}" ng-transclude></div>'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
*/
|
|
||||||
|
|
||||||
.directive('content', function() {
|
.directive('content', function() {
|
||||||
return {
|
return {
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
|
|||||||
Reference in New Issue
Block a user