This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .controller('ChatsCtrl', function( $timeout, ionicMaterialMotion) { | |
| $timeout(function () { | |
| ionicMaterialMotion.fadeSlideInRight(); | |
| ionicMaterialMotion.fadeSlideIn(); | |
| ionicMaterialMotion.ripple(); | |
| ionicMaterialMotion.blinds(); | |
| }, 500); | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2 class='calm'>Welcome to Ionic Material</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ionicLoading.show({ | |
| template:"<div class='loader'><svg class='circular'><circle class='path' cx='50' cy='50' r='20' fill='none' stroke-width='2' stroke-miterlimit='10'/></svg></div>" | |
| }) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2 class='calm ink'>Welcome to Ionic</h2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <button class="button" id='drop-it' ng-click="toggleDrop();">Drop</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ionicMaterialInk.displayEffect(); | |
| function cancelDrop(){ | |
| document.getElementById('drop-it').classList.remove('drop') | |
| } | |
| $scope.toggleDrop = function (){ | |
| document.getElementById('drop-it').classList.add('drop'); | |
| $timeout(cancelDrop, 2000) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $timeout(function () { | |
| ionicMaterialMotion.fadeSlideInRight(); | |
| ionicMaterialMotion.fadeSlideIn(); | |
| ionicMaterialMotion.ripple(); | |
| ionicMaterialMotion.blinds(); | |
| }, 500); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ion-view view-title="Chats"> | |
| <ion-content> | |
| <ion-list class="animate-fade-slide-in"> | |
| <ion-item ng-repeat="chat in chats">fade slide in </ion-item> | |
| </ion-list> | |
| <ion-list class="animate-fade-slide-in-right"> | |
| <ion-item ng-repeat="chat in chats"> fade slide in right </ion-item> | |
| </ion-list> | |
| <ion-list class="animate-ripple"> | |
| <ion-item ng-repeat="chat in chats"> ripple </ion-item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm install aws-sdk |
OlderNewer