Sha256: 73050a15cc4499098cda14d32e56ef294c9c3f3fd8621b29b85869d12fc4eda9
Contents?: true
Size: 334 Bytes
Versions: 3
Compression:
Stored size: 334 Bytes
Contents
alfRepl.directive('resize', function ($window) { return function (scope,element) { function applyResizing() { element.css("height", parseInt($window.innerHeight) - 150); } angular.element($window).bind('resize', function(){ scope.$apply(function() { applyResizing(); }); }); applyResizing(); } });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
alf-repl-0.16.3 | assets/js/directives/resize.js |
alf-repl-0.16.2 | assets/js/directives/resize.js |
alf-repl-0.16.1 | assets/js/directives/resize.js |