1
ich unten durch einen Link gehen ..ng-image-Er- schei nicht funktioniert
AngularJS Module to make images appear with transition as they load.
Ich benutze es in meiner Anwendung, aber nicht tranisition und Animation bekommen Effekte
HTML:
<div ng-app="myApp">
<div ng-controller="myCtrl">
<img class="img1" src="https://newevolutiondesigns.com/images/freebies/tropical-beach-background-8.jpg" ng-image-appear responsive transition-duration="1s" animation="fadeInUp" animation-duration="1s" easing="ease-out" />
</div>
</div>
Schräg:
var myApp = angular.module('myApp', ['ngImageAppear']);
myApp.controller('myCtrl', ['$scope', function($scope) {
}]);
CSS:
body {
background-color: #aaa;
}
.img1 {
width: 60%;
height: auto;
}
.img2 {
width: 70px;
height: auto;
}
.img3 {
width: 450px;
height: auto;
}
.loader-class {
background-color: rgba(255, 255, 255, .65);
}
.placeholder-class {
background-size: contain;
}
Vielen Dank für Ihre Antwort ... Ich legte es in Index file..still keine Auswirkungen –
sehen Sie irgendwelche Fehler in der Konsole? – Sajeetharan
Hi..problem gelöst ... Abhängigkeit wurde nicht in app.js hinzugefügt –