Replaced screenshot Zoom UI with input range along with buttons.

This commit is contained in:
Gunther Brunner
2014-05-27 15:48:34 +09:00
parent 9ec7d8c366
commit 6432a5651c
4 changed files with 56 additions and 41 deletions

View File

@@ -3,10 +3,9 @@ module.exports = function imageOnloadAnimateDirective($parse, $animate) {
restrict: 'A',
link: function (scope, element, attrs) {
$animate.addClass(element, 'ng-image-not-loaded')
element.bind('load', function() {
element.bind('load', function () {
$animate.removeClass(element, 'ng-image-not-loaded')
// scope.$eval(attrs.imageOnload)
console.log('image is loaded')
// console.log('image is loaded')
})
}
}