Make tabs responsive
This commit is contained in:
parent
e381d8cc81
commit
a904cdbcbf
4 changed files with 109 additions and 6 deletions
|
@ -244,6 +244,13 @@ angular.module("core-ui", [])
|
|||
restrict: 'C',
|
||||
scope: {},
|
||||
controller: function($rootScope, $scope, $element) {
|
||||
$scope.isClosed = true;
|
||||
|
||||
$scope.toggleClosed = function(e) {
|
||||
$scope.isClosed = !$scope.isClosed;
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
};
|
||||
}
|
||||
};
|
||||
return directiveDefinitionObject;
|
||||
|
|
Reference in a new issue