mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Replaced screenshot Zoom UI with input range along with buttons.
This commit is contained in:
@@ -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')
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user