├── .gitignore ├── LICENSE ├── README.md ├── angular.json ├── browserslist ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── ionic.config.json ├── karma.conf.js ├── package-lock.json ├── package.json ├── src ├── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── home │ │ ├── home.module.ts │ │ ├── home.page.html │ │ ├── home.page.scss │ │ ├── home.page.spec.ts │ │ └── home.page.ts │ └── list │ │ ├── list.module.ts │ │ ├── list.page.html │ │ ├── list.page.scss │ │ ├── list.page.spec.ts │ │ └── list.page.ts ├── assets │ ├── css │ │ └── custom-animate.css │ ├── icon │ │ └── favicon.png │ ├── images │ │ ├── demo │ │ │ ├── admin.jpg │ │ │ ├── animation.gif │ │ │ ├── ionic-clothes.jpg │ │ │ ├── ionic-dark.jpg │ │ │ ├── ionic-fruit.jpg │ │ │ ├── ionic-gray.jpg │ │ │ └── recommand.jpg │ │ ├── list │ │ │ ├── an1.jpg │ │ │ ├── girl1.jpg │ │ │ ├── girl10.jpg │ │ │ ├── girl11.jpg │ │ │ ├── girl12.jpg │ │ │ ├── girl13.jpg │ │ │ ├── girl14.jpg │ │ │ ├── girl15.jpg │ │ │ ├── girl16.jpg │ │ │ ├── girl17.jpg │ │ │ ├── girl18.jpg │ │ │ ├── girl2.jpg │ │ │ ├── girl3.jpg │ │ │ ├── girl4.jpg │ │ │ ├── girl5.jpg │ │ │ ├── girl6.jpg │ │ │ ├── girl7.jpg │ │ │ ├── girl8.jpg │ │ │ ├── girl9.jpg │ │ │ ├── imgpicker1.jpg │ │ │ └── imgpicker2.jpg │ │ └── logo.png │ └── shapes.svg ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── global.scss ├── index.html ├── main.ts ├── polyfills.ts ├── test.ts ├── theme │ └── variables.scss └── zone-flags.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Specifies intentionally untracked files to ignore when using Git 2 | # http://git-scm.com/docs/gitignore 3 | 4 | *~ 5 | *.sw[mnpcod] 6 | .tmp 7 | *.tmp 8 | *.tmp.* 9 | *.sublime-project 10 | *.sublime-workspace 11 | .DS_Store 12 | Thumbs.db 13 | UserInterfaceState.xcuserstate 14 | $RECYCLE.BIN/ 15 | 16 | *.log 17 | log.txt 18 | npm-debug.log* 19 | 20 | /.idea 21 | /.ionic 22 | /.sass-cache 23 | /.sourcemaps 24 | /.versions 25 | /.vscode 26 | /coverage 27 | /dist 28 | /node_modules 29 | /platforms 30 | /plugins 31 | /www 32 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Demo Preview 2 | ionic animation demo 3 | 4 | ## Ionic 6 / Angular 10 Fitness Theme / Template (Android+Ios+Web)App 5 | Ionic 6 / Angular 11 Fitness UI Theme / Template(Android+ios+web) App | Starter App 7 | 8 | ## Bule| Angular 11 Admin Backend /with Firebase/Material Design 9 | https://codecanyon.net/item/bule-angular-10-admin-backend-with-firebasematerial-design/29304444 10 | 11 |

12 | 13 | ionictemplate logo 14 | 15 |

16 |

IONICTEMPLATE

17 | 18 |

GET IONIC Fruit V5

19 | 20 |

21 | If you want to build your own Fruit app with the latest version of Ionic framework, and allows you to build easily your mobile app both for Android and iOS devices, through this App, You can publish directly to production, add new data from the backend. 22 |
23 | Online docs » 24 |
25 |
26 |

27 |

Looking for awesome Web and Mobile applications and Custom Backend! Browse Our Product!

28 |

29 | · 30 | Products 31 | · 32 | Envato 33 | · 34 | Angular Fruit Test Admin (user: test@gmail.com password: 123456) 35 |

36 | 37 | ## Table of contents 38 | 39 | - [Quick start](#quick-start) 40 | - [Features](#mobile-app-features) 41 | - [What's included](#whats-included) 42 | - [Bugs and feature requests](#bugs-and-feature-requests) 43 | - [Documentation](#documentation) 44 | - [Copyright and license](#copyright-and-license) 45 | 46 | ## Quick start 47 | 48 | Ionic Animation project is available for free download. 49 | 50 | Buy Ionic Fruit V5 from [EnvatoMarket](https://codecanyon.net/item/ionic5-fruit-app-with-firebase/24448819) 51 | 52 | - [Download the latest release Free.](https://ionic-app-angular-assets.firebaseapp.com/assets/fruit/fruit.apk) 53 | - Install with [npm](https://www.npmjs.com/): `npm install` 54 | - Install with [ionic](https://ionicframework.com/): `ionic serve` 55 | 56 | Read the [Getting started page](https://help-ionic-template.firebaseapp.com/) for information on the ionic fruit/template app. 57 | 58 |

59 | 60 | ionic recommend mobile app 61 | 62 |

63 | 64 | ## Video Installation Guide 65 | | Ionic Fruit App | Ionic Clothes App | 66 | | ------------- | ------------- | 67 | | [![IONIC FIREBASE FRUIT MOBILE APP INSTALLATION GUIDE](https://github.com/ionictemplate-app/ionic-animation/blob/master/src/assets/images/demo/ionic-fruit.jpg)](https://youtu.be/gKqxDIlzCXg) | [![IONIC5 CLOTHES APP WITH FIREBASE INSTALLATION GUIDE](https://github.com/ionictemplate-app/ionic-animation/blob/master/src/assets/images/demo/ionic-clothes.jpg)](https://youtu.be/rmbSRFzWg0s)| 68 | 69 | ## Mobile app Features 70 | 71 | 1. Sign In 72 | 2. Sign Up 73 | 3. Home page 74 | 4. Discount page 75 | 5. Category page 76 | 6. Product List page 77 | 7. Filter Items by Categories/Subcategories 78 | 8. Add products to Cart 79 | 9. Place orders 80 | 10. Calculate Shipping Fee 81 | 11. Address Management 82 | 12. Order List/Details 83 | 13. Wishlist/Favorites 84 | 14. Search Items by keywords 85 | 15. Favorite Page 86 | 16. Payments with Cash 87 | 17. Multi-language 88 | 18. PWA support 89 | 19. SEO Friendly 90 | 20. Card Page 91 | 21. My center page 92 | 22. notice page 93 | 23. product detail page 94 | 24. Push Notifications 95 | 25. video play. 96 | 26. photos 97 | 27. more... 98 | 99 | ## What's included 100 | 101 | Within the download you'll find angular firebase version of ionic app. Admin Dashboard to manage Menu or Orders not been available in this repo. 102 | 103 | You can Buy the Admin Dashboard from [IonicTemplateTestAdmin](https://fruit-angular-admin-app.firebaseapp.com/) 104 | 105 |

106 | 107 | angular fruit  backend 108 | 109 |

110 | 111 | 1. Sign In/ Sign Up + Social Login 112 | 2. Dashboard page 113 | 3. address page(add,edit,delete,query) 114 | 4. banner page(add,edit,delete,query) 115 | 5. cate page(add,edit,delete,query) 116 | 6. cate-relation page(add,edit,delete,query) 117 | 7. discount page(add,edit,delete,query) 118 | 8. delivery page(add,edit,delete,query) 119 | 9. favorite page 120 | 10. product page(add,edit,delete,query) 121 | 11. lock page 122 | 12. log-chart page 123 | 13. login-log page 124 | 14. not-found page 125 | 15. notice page (add,edit,delete,query) 126 | 16. order page 127 | 17. order-chart page 128 | 18. good Items by Categories/Subcategories 129 | 19. ows(add,edit,delete,query) 130 | 20. pays(add,edit,delete,query) 131 | 21. sub-cate(add,edit,delete,query) 132 | 22. users 133 | 23. Calculate Shipping 134 | 24. Order List/Details 135 | 25. Favorites 136 | 26. Search Items by keywords 137 | 27. Multi-language 138 | 28. Product photos/video uploads 139 | 29. Product content Support images uploads 140 | 141 | ## Most Rated product 142 | 143 | | Ionic Fruit mobile app | Ionic clothing mobile app | 144 | | ------------- | ------------- | 145 | | ![Ionic Fruit mobile app](https://github.com/ionictemplate-app/ionic-animation/blob/master/src/assets/images/demo/ionic-fruit.jpg) | ![Ionic clothing mobile app](https://github.com/ionictemplate-app/ionic-animation/blob/master/src/assets/images/demo/ionic-clothes.jpg) | 146 | 147 | ## Most Rated product 148 | 149 | | Ionic 5 / Angular 8 Dark UI Theme / Template App | Ionic 5 / Angular 8 Gary UI Theme / Template App | 150 | | ------------- | ------------- | 151 | | ![Ionic 5 Angular 8 Dark UI Theme Template App](https://github.com/ionictemplate-app/ionic-animation/blob/master/src/assets/images/demo/ionic-dark.jpg) | ![Ionic 5 Angular 8 Gary UI Theme Template App ](https://github.com/ionictemplate-app/ionic-animation/blob/master/src/assets/images/demo/ionic-gray.jpg) | 152 | 153 | ## Documentation 154 | 155 | Ionictemplate fruit documentation, included in this repo in the root directory, is built with [ionic](https://ionicframework.com/) and publicly hosted on Ionic Template docs Pages at . 156 | 157 | ## More About This Application 158 | 159 | If you want to build your own Clothes app with the latest version of Ionic framework, and allows you to build easily your mobile app both for Android and IOS devices, through this App, You can publish directly to production, add new data from the backend. 160 | 161 | It Builds with Angular 8+, Ionic 5+, Typescript and SASS to take advantage of the future web standards. 162 | 163 | 164 | ## Useful Links 165 | 166 | - [More products](https://codecanyon.net/user/captain96778/portfolio) from EnvatoMarket 167 | - [Tutorials](https://www.youtube.com/channel/UC2u49qcE30-q-pYNbj5oNXg) 168 | 169 | 170 | ### Most Popular Technologies & Products based on User Choice Last Month 171 | 172 | Ionic 6 / Angular 10 Fitness Theme / Template (Android+Ios+Web)App @https://codecanyon.net/item/ionic-6-angular-10-fitness-theme-template-androidioswebapp/29415999 173 | Ionic 6 / Angular 10 UI Blue Theme / Template App | Starter App @https://codecanyon.net/item/ionic-6-angular-10-ui-blue-theme-template-app-starter-app/29315633 174 | 175 | Ionic5 Fruit App with Firebase: @ https://codecanyon.net/item/ionic5-fruit-app-with-firebase/24448819 176 | 177 | Ionic 5 / Angular 8 Dark UI Theme / Template App | Starter App: @ https://codecanyon.net/item/ionic-5-angular-8-dark-ui-theme-template-app-starter-app/25261503 178 | 179 | Ionic 4 Online Clothes Shop App with Angular Admin Backend @ https://codecanyon.net/item/ionic-4-online-clothes-shop-app-with-angular-admin-backend/25007518 180 | 181 | 182 | -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", 3 | "version": 1, 4 | "defaultProject": "app", 5 | "newProjectRoot": "projects", 6 | "projects": { 7 | "app": { 8 | "root": "", 9 | "sourceRoot": "src", 10 | "projectType": "application", 11 | "prefix": "app", 12 | "schematics": {}, 13 | "architect": { 14 | "build": { 15 | "builder": "@angular-devkit/build-angular:browser", 16 | "options": { 17 | "outputPath": "www", 18 | "index": "src/index.html", 19 | "main": "src/main.ts", 20 | "polyfills": "src/polyfills.ts", 21 | "tsConfig": "tsconfig.app.json", 22 | "assets": [ 23 | { 24 | "glob": "**/*", 25 | "input": "src/assets", 26 | "output": "assets" 27 | }, 28 | { 29 | "glob": "**/*.svg", 30 | "input": "node_modules/ionicons/dist/ionicons/svg", 31 | "output": "./svg" 32 | } 33 | ], 34 | "styles": [ 35 | { 36 | "input": "src/theme/variables.scss" 37 | }, 38 | { 39 | "input": "src/global.scss" 40 | } 41 | ], 42 | "scripts": [] 43 | }, 44 | "configurations": { 45 | "production": { 46 | "fileReplacements": [ 47 | { 48 | "replace": "src/environments/environment.ts", 49 | "with": "src/environments/environment.prod.ts" 50 | } 51 | ], 52 | "optimization": true, 53 | "outputHashing": "all", 54 | "sourceMap": false, 55 | "extractCss": true, 56 | "namedChunks": false, 57 | "aot": true, 58 | "extractLicenses": true, 59 | "vendorChunk": false, 60 | "buildOptimizer": true, 61 | "budgets": [ 62 | { 63 | "type": "initial", 64 | "maximumWarning": "2mb", 65 | "maximumError": "5mb" 66 | } 67 | ] 68 | }, 69 | "ci": { 70 | "progress": false 71 | } 72 | } 73 | }, 74 | "serve": { 75 | "builder": "@angular-devkit/build-angular:dev-server", 76 | "options": { 77 | "browserTarget": "app:build" 78 | }, 79 | "configurations": { 80 | "production": { 81 | "browserTarget": "app:build:production" 82 | }, 83 | "ci": { 84 | "progress": false 85 | } 86 | } 87 | }, 88 | "extract-i18n": { 89 | "builder": "@angular-devkit/build-angular:extract-i18n", 90 | "options": { 91 | "browserTarget": "app:build" 92 | } 93 | }, 94 | "test": { 95 | "builder": "@angular-devkit/build-angular:karma", 96 | "options": { 97 | "main": "src/test.ts", 98 | "polyfills": "src/polyfills.ts", 99 | "tsConfig": "tsconfig.spec.json", 100 | "karmaConfig": "karma.conf.js", 101 | "styles": [], 102 | "scripts": [], 103 | "assets": [ 104 | { 105 | "glob": "favicon.ico", 106 | "input": "src/", 107 | "output": "/" 108 | }, 109 | { 110 | "glob": "**/*", 111 | "input": "src/assets", 112 | "output": "/assets" 113 | } 114 | ] 115 | }, 116 | "configurations": { 117 | "ci": { 118 | "progress": false, 119 | "watch": false 120 | } 121 | } 122 | }, 123 | "lint": { 124 | "builder": "@angular-devkit/build-angular:tslint", 125 | "options": { 126 | "tsConfig": [ 127 | "tsconfig.app.json", 128 | "tsconfig.spec.json", 129 | "e2e/tsconfig.json" 130 | ], 131 | "exclude": ["**/node_modules/**"] 132 | } 133 | }, 134 | "e2e": { 135 | "builder": "@angular-devkit/build-angular:protractor", 136 | "options": { 137 | "protractorConfig": "e2e/protractor.conf.js", 138 | "devServerTarget": "app:serve" 139 | }, 140 | "configurations": { 141 | "production": { 142 | "devServerTarget": "app:serve:production" 143 | }, 144 | "ci": { 145 | "devServerTarget": "app:serve:ci" 146 | } 147 | } 148 | }, 149 | "ionic-cordova-build": { 150 | "builder": "@ionic/angular-toolkit:cordova-build", 151 | "options": { 152 | "browserTarget": "app:build" 153 | }, 154 | "configurations": { 155 | "production": { 156 | "browserTarget": "app:build:production" 157 | } 158 | } 159 | }, 160 | "ionic-cordova-serve": { 161 | "builder": "@ionic/angular-toolkit:cordova-serve", 162 | "options": { 163 | "cordovaBuildTarget": "app:ionic-cordova-build", 164 | "devServerTarget": "app:serve" 165 | }, 166 | "configurations": { 167 | "production": { 168 | "cordovaBuildTarget": "app:ionic-cordova-build:production", 169 | "devServerTarget": "app:serve:production" 170 | } 171 | } 172 | } 173 | } 174 | } 175 | }, 176 | "cli": { 177 | "defaultCollection": "@ionic/angular-toolkit" 178 | }, 179 | "schematics": { 180 | "@ionic/angular-toolkit:component": { 181 | "styleext": "scss" 182 | }, 183 | "@ionic/angular-toolkit:page": { 184 | "styleext": "scss" 185 | } 186 | } 187 | } 188 | -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | > 0.5% 9 | last 2 versions 10 | Firefox ESR 11 | not dead 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. 13 | -------------------------------------------------------------------------------- /e2e/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // Protractor configuration file, see link for more information 2 | // https://github.com/angular/protractor/blob/master/lib/config.ts 3 | 4 | const { SpecReporter } = require('jasmine-spec-reporter'); 5 | 6 | exports.config = { 7 | allScriptsTimeout: 11000, 8 | specs: [ 9 | './src/**/*.e2e-spec.ts' 10 | ], 11 | capabilities: { 12 | 'browserName': 'chrome' 13 | }, 14 | directConnect: true, 15 | baseUrl: 'http://localhost:4200/', 16 | framework: 'jasmine', 17 | jasmineNodeOpts: { 18 | showColors: true, 19 | defaultTimeoutInterval: 30000, 20 | print: function() {} 21 | }, 22 | onPrepare() { 23 | require('ts-node').register({ 24 | project: require('path').join(__dirname, './tsconfig.json') 25 | }); 26 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | 3 | describe('new App', () => { 4 | let page: AppPage; 5 | 6 | beforeEach(() => { 7 | page = new AppPage(); 8 | }); 9 | describe('default screen', () => { 10 | beforeEach(() => { 11 | page.navigateTo('/home'); 12 | }); 13 | it('should have a title saying Home', () => { 14 | page.getPageOneTitleText().then(title => { 15 | expect(title).toEqual('Home'); 16 | }); 17 | }); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo(destination) { 5 | return browser.get(destination); 6 | } 7 | 8 | getTitle() { 9 | return browser.getTitle(); 10 | } 11 | 12 | getPageOneTitleText() { 13 | return element(by.tagName('app-home')).element(by.deepCss('ion-title')).getText(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-animation", 3 | "integrations": {}, 4 | "type": "angular" 5 | } 6 | -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- 1 | // Karma configuration file, see link for more information 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html 3 | 4 | module.exports = function (config) { 5 | config.set({ 6 | basePath: '', 7 | frameworks: ['jasmine', '@angular-devkit/build-angular'], 8 | plugins: [ 9 | require('karma-jasmine'), 10 | require('karma-chrome-launcher'), 11 | require('karma-jasmine-html-reporter'), 12 | require('karma-coverage-istanbul-reporter'), 13 | require('@angular-devkit/build-angular/plugins/karma') 14 | ], 15 | client: { 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser 17 | }, 18 | coverageIstanbulReporter: { 19 | dir: require('path').join(__dirname, '../coverage'), 20 | reports: ['html', 'lcovonly', 'text-summary'], 21 | fixWebpackSourcePaths: true 22 | }, 23 | reporters: ['progress', 'kjhtml'], 24 | port: 9876, 25 | colors: true, 26 | logLevel: config.LOG_INFO, 27 | autoWatch: true, 28 | browsers: ['Chrome'], 29 | singleRun: false 30 | }); 31 | }; 32 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-animation", 3 | "version": "0.0.1", 4 | "author": "Ionic Framework", 5 | "homepage": "https://ionicframework.com/", 6 | "scripts": { 7 | "ng": "ng", 8 | "start": "ng serve", 9 | "build": "ng build", 10 | "test": "ng test", 11 | "lint": "ng lint", 12 | "e2e": "ng e2e" 13 | }, 14 | "private": true, 15 | "dependencies": { 16 | "@angular/common": "~8.1.2", 17 | "@angular/core": "~8.1.2", 18 | "@angular/forms": "~8.1.2", 19 | "@angular/platform-browser": "~8.1.2", 20 | "@angular/platform-browser-dynamic": "~8.1.2", 21 | "@angular/router": "~8.1.2", 22 | "@ionic-native/core": "^5.0.0", 23 | "@ionic-native/splash-screen": "^5.0.0", 24 | "@ionic-native/status-bar": "^5.0.0", 25 | "@ionic/angular": "^4.7.1", 26 | "core-js": "^2.5.4", 27 | "rxjs": "~6.5.1", 28 | "tslib": "^1.9.0", 29 | "zone.js": "~0.9.1" 30 | }, 31 | "devDependencies": { 32 | "@angular-devkit/architect": "~0.801.2", 33 | "@angular-devkit/build-angular": "~0.801.2", 34 | "@angular-devkit/core": "~8.1.2", 35 | "@angular-devkit/schematics": "~8.1.2", 36 | "@angular/cli": "~8.1.2", 37 | "@angular/compiler": "~8.1.2", 38 | "@angular/compiler-cli": "~8.1.2", 39 | "@angular/language-service": "~8.1.2", 40 | "@ionic/angular-toolkit": "^2.1.1", 41 | "@types/jasmine": "~3.3.8", 42 | "@types/jasminewd2": "~2.0.3", 43 | "@types/node": "~8.9.4", 44 | "codelyzer": "^5.0.0", 45 | "jasmine-core": "~3.4.0", 46 | "jasmine-spec-reporter": "~4.2.1", 47 | "karma": "~4.1.0", 48 | "karma-chrome-launcher": "~2.2.0", 49 | "karma-coverage-istanbul-reporter": "~2.0.1", 50 | "karma-jasmine": "~2.0.1", 51 | "karma-jasmine-html-reporter": "^1.4.0", 52 | "protractor": "~5.4.0", 53 | "ts-node": "~7.0.0", 54 | "tslint": "~5.15.0", 55 | "typescript": "~3.4.3" 56 | }, 57 | "description": "An Ionic project" 58 | } 59 | -------------------------------------------------------------------------------- /src/app/app-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; 3 | 4 | const routes: Routes = [ 5 | { 6 | path: '', 7 | redirectTo: 'home', 8 | pathMatch: 'full' 9 | }, 10 | { 11 | path: 'home', 12 | loadChildren: () => import('./home/home.module').then(m => m.HomePageModule) 13 | }, 14 | { 15 | path: 'list', 16 | loadChildren: () => import('./list/list.module').then(m => m.ListPageModule) 17 | } 18 | ]; 19 | 20 | @NgModule({ 21 | imports: [ 22 | RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules }) 23 | ], 24 | exports: [RouterModule] 25 | }) 26 | export class AppRoutingModule {} 27 | -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Menu 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | {{p.title}} 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/app/app.component.scss -------------------------------------------------------------------------------- /src/app/app.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; 2 | import { TestBed, async } from '@angular/core/testing'; 3 | 4 | import { Platform } from '@ionic/angular'; 5 | import { SplashScreen } from '@ionic-native/splash-screen/ngx'; 6 | import { StatusBar } from '@ionic-native/status-bar/ngx'; 7 | import { RouterTestingModule } from '@angular/router/testing'; 8 | 9 | import { AppComponent } from './app.component'; 10 | 11 | describe('AppComponent', () => { 12 | 13 | let statusBarSpy, splashScreenSpy, platformReadySpy, platformSpy; 14 | 15 | beforeEach(async(() => { 16 | statusBarSpy = jasmine.createSpyObj('StatusBar', ['styleDefault']); 17 | splashScreenSpy = jasmine.createSpyObj('SplashScreen', ['hide']); 18 | platformReadySpy = Promise.resolve(); 19 | platformSpy = jasmine.createSpyObj('Platform', { ready: platformReadySpy }); 20 | 21 | TestBed.configureTestingModule({ 22 | declarations: [AppComponent], 23 | schemas: [CUSTOM_ELEMENTS_SCHEMA], 24 | providers: [ 25 | { provide: StatusBar, useValue: statusBarSpy }, 26 | { provide: SplashScreen, useValue: splashScreenSpy }, 27 | { provide: Platform, useValue: platformSpy }, 28 | ], 29 | imports: [ RouterTestingModule.withRoutes([])], 30 | }).compileComponents(); 31 | })); 32 | 33 | it('should create the app', async () => { 34 | const fixture = TestBed.createComponent(AppComponent); 35 | const app = fixture.debugElement.componentInstance; 36 | expect(app).toBeTruthy(); 37 | }); 38 | 39 | it('should initialize the app', async () => { 40 | TestBed.createComponent(AppComponent); 41 | expect(platformSpy.ready).toHaveBeenCalled(); 42 | await platformReadySpy; 43 | expect(statusBarSpy.styleDefault).toHaveBeenCalled(); 44 | expect(splashScreenSpy.hide).toHaveBeenCalled(); 45 | }); 46 | 47 | it('should have menu labels', async () => { 48 | const fixture = await TestBed.createComponent(AppComponent); 49 | await fixture.detectChanges(); 50 | const app = fixture.nativeElement; 51 | const menuItems = app.querySelectorAll('ion-label'); 52 | expect(menuItems.length).toEqual(2); 53 | expect(menuItems[0].textContent).toContain('Home'); 54 | expect(menuItems[1].textContent).toContain('List'); 55 | }); 56 | 57 | it('should have urls', async () => { 58 | const fixture = await TestBed.createComponent(AppComponent); 59 | await fixture.detectChanges(); 60 | const app = fixture.nativeElement; 61 | const menuItems = app.querySelectorAll('ion-item'); 62 | expect(menuItems.length).toEqual(2); 63 | expect(menuItems[0].getAttribute('ng-reflect-router-link')).toEqual('/home'); 64 | expect(menuItems[1].getAttribute('ng-reflect-router-link')).toEqual('/list'); 65 | }); 66 | 67 | }); 68 | -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { Platform } from '@ionic/angular'; 4 | import { SplashScreen } from '@ionic-native/splash-screen/ngx'; 5 | import { StatusBar } from '@ionic-native/status-bar/ngx'; 6 | 7 | @Component({ 8 | selector: 'app-root', 9 | templateUrl: 'app.component.html', 10 | styleUrls: ['app.component.scss'] 11 | }) 12 | export class AppComponent { 13 | public appPages = [ 14 | { 15 | title: 'Home', 16 | url: '/home', 17 | icon: 'home' 18 | } 19 | ]; 20 | 21 | constructor( 22 | private platform: Platform, 23 | private splashScreen: SplashScreen, 24 | private statusBar: StatusBar 25 | ) { 26 | this.initializeApp(); 27 | } 28 | 29 | initializeApp() { 30 | this.platform.ready().then(() => { 31 | this.statusBar.styleDefault(); 32 | this.splashScreen.hide(); 33 | }); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { BrowserModule } from '@angular/platform-browser'; 3 | import { RouteReuseStrategy } from '@angular/router'; 4 | 5 | import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; 6 | import { SplashScreen } from '@ionic-native/splash-screen/ngx'; 7 | import { StatusBar } from '@ionic-native/status-bar/ngx'; 8 | 9 | import { AppComponent } from './app.component'; 10 | import { AppRoutingModule } from './app-routing.module'; 11 | 12 | @NgModule({ 13 | declarations: [AppComponent], 14 | entryComponents: [], 15 | imports: [ 16 | BrowserModule, 17 | IonicModule.forRoot(), 18 | AppRoutingModule 19 | ], 20 | providers: [ 21 | StatusBar, 22 | SplashScreen, 23 | { provide: RouteReuseStrategy, useClass: IonicRouteStrategy } 24 | ], 25 | bootstrap: [AppComponent] 26 | }) 27 | export class AppModule {} 28 | -------------------------------------------------------------------------------- /src/app/home/home.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | import { IonicModule } from '@ionic/angular'; 5 | import { RouterModule } from '@angular/router'; 6 | 7 | import { HomePage } from './home.page'; 8 | 9 | @NgModule({ 10 | imports: [ 11 | CommonModule, 12 | FormsModule, 13 | IonicModule, 14 | RouterModule.forChild([ 15 | { 16 | path: '', 17 | component: HomePage 18 | } 19 | ]) 20 | ], 21 | declarations: [HomePage] 22 | }) 23 | export class HomePageModule {} 24 | -------------------------------------------------------------------------------- /src/app/home/home.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Animation List 8 | 9 | 10 | 11 | 12 | 13 |
14 | {{btn.name}} 16 |
17 |
18 |
20 | 21 | 22 | 23 |

{{item?.name}}

24 |
25 |
26 |
27 | -------------------------------------------------------------------------------- /src/app/home/home.page.scss: -------------------------------------------------------------------------------- 1 | :host{ 2 | .left { 3 | position: absolute; 4 | width: 100px; 5 | height: 100%; 6 | display: block; 7 | } 8 | 9 | .right { 10 | position: absolute; 11 | height: 100%; 12 | margin-left: 90px; 13 | } 14 | 15 | .box { 16 | margin: 5px; 17 | display: flex; 18 | } 19 | 20 | .p-title{ 21 | margin-left: 7px; 22 | line-height: 48px; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/app/home/home.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { HomePage } from './home.page'; 5 | 6 | describe('HomePage', () => { 7 | let component: HomePage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [HomePage], 13 | imports: [IonicModule.forRoot()] 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(HomePage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/home/home.page.ts: -------------------------------------------------------------------------------- 1 | import {Component} from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-home', 5 | templateUrl: 'home.page.html', 6 | styleUrls: ['home.page.scss'], 7 | }) 8 | export class HomePage { 9 | btnList = [ 10 | {name: 'scale', className: 'scale-in-center'}, 11 | {name: 'rotate', className: 'rotate-in-center'}, 12 | {name: 'rotate2', className: 'rotate-in-2-cw'}, 13 | {name: 'swirl', className: 'swirl-in-fwd'}, 14 | {name: 'flip', className: 'flip-in-ver-right'}, 15 | {name: 'slit', className: 'slit-in-vertical'}, 16 | {name: 'slide top', className: 'slide-in-top'}, 17 | {name: 'slide in', className: 'slide-in-tr'}, 18 | {name: 'slide right', className: 'slide-in-right'}, 19 | {name: 'slide br', className: 'slide-in-br'}, 20 | {name: 'slide bottom', className: 'slide-in-bottom'}, 21 | {name: 'slide bl', className: 'slide-in-bl'}, 22 | {name: 'slide left', className: 'slide-in-left'}, 23 | {name: 'slide tl', className: 'slide-in-tl'} 24 | ]; 25 | selectClass = 'scale-in-center'; 26 | 27 | list = [ 28 | { 29 | "name": "Girl, Kayak, Canoe", 30 | "content": "", 31 | "img": "assets/images/list/girl3.jpg", 32 | "isOpen": false 33 | }, 34 | { 35 | "name": "Sport, Strength Training", 36 | "content": "", 37 | "img": "assets/images/list/girl13.jpg", 38 | "isOpen": false 39 | }, 40 | { 41 | "name": "Motorcycle, Speed, Helmet", 42 | "content": "", 43 | "img": "assets/images/list/girl4.jpg", 44 | "isOpen": false 45 | }, 46 | { 47 | "name": "Sport,Training,Sixpack", 48 | "content": "", 49 | "img": "assets/images/list/girl5.jpg", 50 | "isOpen": false 51 | }, 52 | { 53 | "name": "Training,Arms,Blonde", 54 | "content": "", 55 | "img": "assets/images/list/girl6.jpg", 56 | "isOpen": false 57 | }, 58 | { 59 | "name": "Football Boot, Sport", 60 | "content": "", 61 | "img": "assets/images/list/girl9.jpg", 62 | "isOpen": false 63 | }, 64 | { 65 | "name": "SurfboardWater Sports", 66 | "content": "", 67 | "img": "assets/images/list/girl1.jpg", 68 | "isOpen": false 69 | }, 70 | { 71 | "name": "Ski Touring, Backcountry Skiing", 72 | "content": "", 73 | "img": "assets/images/list/girl17.jpg", 74 | "isOpen": false 75 | }, 76 | { 77 | "name": "Pose, Fitness, Girl", 78 | "content": "", 79 | "img": "assets/images/list/girl18.jpg", 80 | "isOpen": false 81 | }, 82 | { 83 | "name": "Ski Touring, Backcountry Skiing", 84 | "content": "", 85 | "img": "assets/images/list/girl6.jpg", 86 | "isOpen": false 87 | }, 88 | { 89 | "name": "Pose, Fitness, Girl", 90 | "content": "", 91 | "img": "assets/images/list/girl11.jpg", 92 | "isOpen": false 93 | } 94 | ]; 95 | 96 | 97 | constructor() { 98 | 99 | } 100 | toggle(className) { 101 | this.selectClass = className; 102 | } 103 | 104 | } 105 | -------------------------------------------------------------------------------- /src/app/list/list.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | import { IonicModule } from '@ionic/angular'; 5 | import { RouterModule } from '@angular/router'; 6 | 7 | import { ListPage } from './list.page'; 8 | 9 | @NgModule({ 10 | imports: [ 11 | CommonModule, 12 | FormsModule, 13 | IonicModule, 14 | RouterModule.forChild([ 15 | { 16 | path: '', 17 | component: ListPage 18 | } 19 | ]) 20 | ], 21 | declarations: [ListPage] 22 | }) 23 | export class ListPageModule {} 24 | -------------------------------------------------------------------------------- /src/app/list/list.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | List 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {{item.title}} 17 |
18 | {{item.note}} 19 |
20 |
21 |
22 | 27 |
28 | -------------------------------------------------------------------------------- /src/app/list/list.page.scss: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/app/list/list.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { ListPage } from './list.page'; 5 | 6 | describe('ListPage', () => { 7 | let component: ListPage; 8 | let fixture: ComponentFixture; 9 | let listPage: HTMLElement; 10 | 11 | beforeEach(async(() => { 12 | TestBed.configureTestingModule({ 13 | declarations: [ ListPage ], 14 | imports: [IonicModule.forRoot()] 15 | }).compileComponents(); 16 | 17 | fixture = TestBed.createComponent(ListPage); 18 | component = fixture.componentInstance; 19 | fixture.detectChanges(); 20 | })); 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy(); 24 | }); 25 | 26 | it('should have a list of 10 elements', () => { 27 | listPage = fixture.nativeElement; 28 | const items = listPage.querySelectorAll('ion-item'); 29 | expect(items.length).toEqual(10); 30 | }); 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /src/app/list/list.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-list', 5 | templateUrl: 'list.page.html', 6 | styleUrls: ['list.page.scss'] 7 | }) 8 | export class ListPage implements OnInit { 9 | private selectedItem: any; 10 | private icons = [ 11 | 'flask', 12 | 'wifi', 13 | 'beer', 14 | 'football', 15 | 'basketball', 16 | 'paper-plane', 17 | 'american-football', 18 | 'boat', 19 | 'bluetooth', 20 | 'build' 21 | ]; 22 | public items: Array<{ title: string; note: string; icon: string }> = []; 23 | constructor() { 24 | for (let i = 1; i < 11; i++) { 25 | this.items.push({ 26 | title: 'Item ' + i, 27 | note: 'This is item #' + i, 28 | icon: this.icons[Math.floor(Math.random() * this.icons.length)] 29 | }); 30 | } 31 | } 32 | 33 | ngOnInit() { 34 | } 35 | // add back when alpha.4 is out 36 | // navigate(item) { 37 | // this.router.navigate(['/list', JSON.stringify(item)]); 38 | // } 39 | } 40 | -------------------------------------------------------------------------------- /src/assets/css/custom-animate.css: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------- 2 | *scale-up-center 3 | * ---------------------------------------------- */ 4 | .scale-up-center {animation: scale-up-center .4s cubic-bezier(.39, .575, .565, 1.000) both} 5 | @keyframes scale-up-center { 0% {transform: scale(.5)} 100% {transform: scale(1)} } 6 | 7 | 8 | /* ---------------------------------------------- 9 | * scale-down-center 10 | * ---------------------------------------------- */ 11 | .scale-down-center{animation:scale-down-center .4s cubic-bezier(.25,.46,.45,.94) both} 12 | @keyframes scale-down-center{0%{transform:scale(1)}100%{transform:scale(.5)}} 13 | 14 | 15 | /* ---------------------------------------------- 16 | * rotate-center 17 | * ---------------------------------------------- */ 18 | .rotate-center{animation:rotate-center .6s ease-in-out both} 19 | @keyframes rotate-center{0%{transform:rotate(0)}100%{transform:rotate(360deg)}} 20 | 21 | 22 | /* ---------------------------------------------- 23 | * rotate-scale-up 24 | * ---------------------------------------------- */ 25 | .rotate-scale-up{animation:rotate-scale-up .65s linear both} 26 | @keyframes rotate-scale-up{0%{transform:scale(1) rotateZ(0)}50%{transform:scale(2) rotateZ(180deg)}100%{transform:scale(1) rotateZ(360deg)}} 27 | 28 | 29 | /* ---------------------------------------------- 30 | * flip-horizontal-bottom 31 | * ---------------------------------------------- */ 32 | @keyframes flip-horizontal-bottom{0%{transform:rotateX(0)}100%{transform:rotateX(-180deg)}} 33 | .flip-horizontal-bottom{animation:flip-horizontal-bottom .4s cubic-bezier(.455,.03,.515,.955) both} 34 | 35 | 36 | /* ---------------------------------------------- 37 | * flip-2-hor-top-1 38 | * ---------------------------------------------- */ 39 | .flip-2-hor-top-1{animation:flip-2-hor-top-1 .5s cubic-bezier(.455,.03,.515,.955) both} 40 | @keyframes flip-2-hor-top-1{0%{transform:translateY(0) rotateX(0);transform-origin:50% 0}100%{transform:translateY(-100%) rotateX(-180deg);transform-origin:50% 100%}} 41 | 42 | 43 | /* ---------------------------------------------- 44 | * swing-top-fwd 45 | * ---------------------------------------------- */ 46 | .swing-top-fwd{animation:swing-top-fwd .4s cubic-bezier(.25,.46,.45,.94) both} 47 | @keyframes swing-top-fwd{0%{transform:rotateX(0);transform-origin:top}100%{transform:rotateX(180deg);transform-origin:top}} 48 | 49 | 50 | /* ---------------------------------------------- 51 | * slide-top 52 | * ---------------------------------------------- */ 53 | .slide-top{animation:slide-top .5s cubic-bezier(.25,.46,.45,.94) both} 54 | @keyframes slide-top{0%{transform:translateY(0)}100%{transform:translateY(-100px)}} 55 | 56 | 57 | /* ---------------------------------------------- 58 | * slide-bck-center 59 | * ---------------------------------------------- */ 60 | .slide-bck-center{animation:slide-bck-center .45s cubic-bezier(.47,0.000,.745,.715) both} 61 | @keyframes slide-bck-center{0%{transform:translateZ(0)}100%{transform:translateZ(-400px)}} 62 | 63 | 64 | .slide-in-fwd-center{-webkit-animation:slide-in-fwd-center .4s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-fwd-center .4s cubic-bezier(.25,.46,.45,.94) both} 65 | @-webkit-keyframes slide-in-fwd-center{0%{-webkit-transform:translateZ(-1400px);transform:translateZ(-1400px);opacity:0}100%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes slide-in-fwd-center{0%{-webkit-transform:translateZ(-1400px);transform:translateZ(-1400px);opacity:0}100%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}} 66 | 67 | 68 | 69 | .slide-in-fwd-right{-webkit-animation:slide-in-fwd-right .4s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-fwd-right .4s cubic-bezier(.25,.46,.45,.94) both} 70 | @-webkit-keyframes slide-in-fwd-right{0%{-webkit-transform:translateZ(-1400px) translateX(1000px);transform:translateZ(-1400px) translateX(1000px);opacity:0}100%{-webkit-transform:translateZ(0) translateX(0);transform:translateZ(0) translateX(0);opacity:1}}@keyframes slide-in-fwd-right{0%{-webkit-transform:translateZ(-1400px) translateX(1000px);transform:translateZ(-1400px) translateX(1000px);opacity:0}100%{-webkit-transform:translateZ(0) translateX(0);transform:translateZ(0) translateX(0);opacity:1}} 71 | /* ---------------------------------------------- 72 | * shadow-drop-center 73 | * ---------------------------------------------- */ 74 | .shadow-drop-center{animation:shadow-drop-center .4s cubic-bezier(.25,.46,.45,.94) both} 75 | @keyframes shadow-drop-center{0%{box-shadow:0 0 0 0 transparent}100%{box-shadow:0 0 20px 0 rgba(0,0,0,.35)}} 76 | 77 | /* ---------------------------------------------- 78 | * shadow-inset-center 79 | * ---------------------------------------------- */ 80 | .shadow-inset-center{animation:shadow-inset-center .4s cubic-bezier(.25,.46,.45,.94) both} 81 | @keyframes shadow-inset-center{0%{box-shadow:inset 0 0 0 0 transparent}100%{box-shadow:inset 0 0 14px 0 rgba(0,0,0,.5)}} 82 | 83 | 84 | 85 | 86 | .slide-in-fwd-bottom{-webkit-animation:slide-in-fwd-bottom .4s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-fwd-bottom .4s cubic-bezier(.25,.46,.45,.94) both} 87 | @-webkit-keyframes slide-in-fwd-bottom{0%{-webkit-transform:translateZ(-1400px) translateY(800px);transform:translateZ(-1400px) translateY(800px);opacity:0}100%{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}}@keyframes slide-in-fwd-bottom{0%{-webkit-transform:translateZ(-1400px) translateY(800px);transform:translateZ(-1400px) translateY(800px);opacity:0}100%{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}} 88 | 89 | 90 | /* ---------------------------------------------- 91 | * scale-in-center 92 | * ---------------------------------------------- */ 93 | .scale-in-center{animation:scale-in-center .5s cubic-bezier(.25,.46,.45,.94) both} 94 | @keyframes scale-in-center{0%{transform:scale(0);opacity:1}100%{transform:scale(1);opacity:1}} 95 | 96 | /* ---------------------------------------------- 97 | * rotate-in-center 98 | * ---------------------------------------------- */ 99 | .rotate-in-center{animation:rotate-in-center .6s cubic-bezier(.25,.46,.45,.94) both} 100 | @keyframes rotate-in-center{0%{transform:rotate(-360deg);opacity:0}100%{transform:rotate(0);opacity:1}} 101 | 102 | /* ---------------------------------------------- 103 | * rotate-in-2-cw 104 | * ---------------------------------------------- */ 105 | .rotate-in-2-cw{animation:rotate-in-2-cw .6s cubic-bezier(.25,.46,.45,.94) both} 106 | @keyframes rotate-in-2-cw{0%{transform:rotate(-45deg);opacity:0}100%{transform:rotate(0);opacity:1}} 107 | 108 | /* ---------------------------------------------- 109 | * swirl-in-fwd 110 | * ---------------------------------------------- */ 111 | .swirl-in-fwd{animation:swirl-in-fwd .6s ease-out both} 112 | @keyframes swirl-in-fwd{0%{transform:rotate(-540deg) scale(0);opacity:0}100%{transform:rotate(0) scale(1);opacity:1}} 113 | 114 | /* ---------------------------------------------- 115 | * flip-in-ver-right 116 | * ---------------------------------------------- */ 117 | .flip-in-ver-right{animation:flip-in-ver-right .5s cubic-bezier(.25,.46,.45,.94) both} 118 | @keyframes flip-in-ver-right{0%{transform:rotateY(-80deg);opacity:0}100%{transform:rotateY(0);opacity:1}} 119 | 120 | .slit-in-vertical{animation:slit-in-vertical .45s ease-out both} 121 | @keyframes slit-in-vertical{0%{transform:translateZ(-800px) rotateY(90deg);opacity:0}54%{transform:translateZ(-160px) rotateY(87deg);opacity:1}100%{transform:translateZ(0) rotateY(0)}} 122 | 123 | .slide-in-top{-webkit-animation:slide-in-top .5s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-top .5s cubic-bezier(.25,.46,.45,.94) both} 124 | @-webkit-keyframes slide-in-top{0%{-webkit-transform:translateY(-1000px);transform:translateY(-1000px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slide-in-top{0%{-webkit-transform:translateY(-1000px);transform:translateY(-1000px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}} 125 | 126 | .slide-in-tr{animation:slide-in-tr .5s cubic-bezier(.25,.46,.45,.94) both} 127 | @keyframes slide-in-tr{0%{transform:translateY(-1000px) translateX(1000px);opacity:0}100%{transform:translateY(0) translateX(0);opacity:1}} 128 | 129 | .slide-in-right{animation:slide-in-right .5s cubic-bezier(.25,.46,.45,.94) both} 130 | @keyframes slide-in-right{0%{transform:translateX(1000px);opacity:0}100%{transform:translateX(0);opacity:1}} 131 | 132 | .slide-in-br{animation:slide-in-br .5s cubic-bezier(.25,.46,.45,.94) both} 133 | @keyframes slide-in-br{0%{transform:translateY(1000px) translateX(1000px);opacity:0}100%{transform:translateY(0) translateX(0);opacity:1}} 134 | 135 | .slide-in-bottom{animation:slide-in-bottom .5s cubic-bezier(.25,.46,.45,.94) both} 136 | @keyframes slide-in-bottom{0%{transform:translateY(1000px);opacity:0}100%{transform:translateY(0);opacity:1}} 137 | 138 | .slide-in-bl{animation:slide-in-bl .5s cubic-bezier(.25,.46,.45,.94) both} 139 | @keyframes slide-in-bl{0%{transform:translateY(1000px) translateX(-1000px);opacity:0}100%{transform:translateY(0) translateX(0);opacity:1}} 140 | 141 | .slide-in-left{-webkit-animation:slide-in-left .5s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-left .5s cubic-bezier(.25,.46,.45,.94) both} 142 | @-webkit-keyframes slide-in-left{0%{-webkit-transform:translateX(-1000px);transform:translateX(-1000px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slide-in-left{0%{-webkit-transform:translateX(-1000px);transform:translateX(-1000px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}} 143 | 144 | .slide-in-tl{-webkit-animation:slide-in-tl .5s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-tl .5s cubic-bezier(.25,.46,.45,.94) both} 145 | @-webkit-keyframes slide-in-tl{0%{-webkit-transform:translateY(-1000px) translateX(-1000px);transform:translateY(-1000px) translateX(-1000px);opacity:0}100%{-webkit-transform:translateY(0) translateX(0);transform:translateY(0) translateX(0);opacity:1}}@keyframes slide-in-tl{0%{-webkit-transform:translateY(-1000px) translateX(-1000px);transform:translateY(-1000px) translateX(-1000px);opacity:0}100%{-webkit-transform:translateY(0) translateX(0);transform:translateY(0) translateX(0);opacity:1}} 146 | 147 | .bounce-in-top{-webkit-animation:bounce-in-top 1.1s both;animation:bounce-in-top 1.1s both} 148 | @-webkit-keyframes bounce-in-top{0%{-webkit-transform:translateY(-500px);transform:translateY(-500px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateY(-65px);transform:translateY(-65px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateY(-28px);transform:translateY(-28px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateY(-8px);transform:translateY(-8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes bounce-in-top{0%{-webkit-transform:translateY(-500px);transform:translateY(-500px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateY(-65px);transform:translateY(-65px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateY(-28px);transform:translateY(-28px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateY(-8px);transform:translateY(-8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}} 149 | .bounce-in-right{-webkit-animation:bounce-in-right 1.1s both;animation:bounce-in-right 1.1s both} 150 | @-webkit-keyframes bounce-in-right{0%{-webkit-transform:translateX(600px);transform:translateX(600px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateX(68px);transform:translateX(68px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateX(32px);transform:translateX(32px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateX(8px);transform:translateX(8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes bounce-in-right{0%{-webkit-transform:translateX(600px);transform:translateX(600px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateX(68px);transform:translateX(68px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateX(32px);transform:translateX(32px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateX(8px);transform:translateX(8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}} 151 | .bounce-in-bottom{-webkit-animation:bounce-in-bottom 1.1s both;animation:bounce-in-bottom 1.1s both} 152 | @-webkit-keyframes bounce-in-bottom{0%{-webkit-transform:translateY(500px);transform:translateY(500px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateY(65px);transform:translateY(65px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateY(28px);transform:translateY(28px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateY(8px);transform:translateY(8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes bounce-in-bottom{0%{-webkit-transform:translateY(500px);transform:translateY(500px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateY(65px);transform:translateY(65px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateY(28px);transform:translateY(28px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateY(8px);transform:translateY(8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}} 153 | 154 | .bounce-in-fwd{-webkit-animation:bounce-in-fwd 1.1s both;animation:bounce-in-fwd 1.1s both} 155 | @-webkit-keyframes bounce-in-fwd{0%{-webkit-transform:scale(0);transform:scale(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:scale(.7);transform:scale(.7);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:scale(.84);transform:scale(.84);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}89%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:scale(.95);transform:scale(.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes bounce-in-fwd{0%{-webkit-transform:scale(0);transform:scale(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:scale(.7);transform:scale(.7);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:scale(.84);transform:scale(.84);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}89%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:scale(.95);transform:scale(.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}} 156 | .roll-in-left{-webkit-animation:roll-in-left .6s ease-out both;animation:roll-in-left .6s ease-out both} 157 | @-webkit-keyframes roll-in-left{0%{-webkit-transform:translateX(-800px) rotate(-540deg);transform:translateX(-800px) rotate(-540deg);opacity:0}100%{-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg);opacity:1}}@keyframes roll-in-left{0%{-webkit-transform:translateX(-800px) rotate(-540deg);transform:translateX(-800px) rotate(-540deg);opacity:0}100%{-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg);opacity:1}} 158 | .roll-in-top{-webkit-animation:roll-in-top .6s ease-out both;animation:roll-in-top .6s ease-out both} 159 | @-webkit-keyframes roll-in-top{0%{-webkit-transform:translateY(-800px) rotate(-540deg);transform:translateY(-800px) rotate(-540deg);opacity:0}100%{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg);opacity:1}}@keyframes roll-in-top{0%{-webkit-transform:translateY(-800px) rotate(-540deg);transform:translateY(-800px) rotate(-540deg);opacity:0}100%{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg);opacity:1}} 160 | .roll-in-right{-webkit-animation:roll-in-right .6s ease-out both;animation:roll-in-right .6s ease-out both} 161 | @-webkit-keyframes roll-in-right{0%{-webkit-transform:translateX(800px) rotate(540deg);transform:translateX(800px) rotate(540deg);opacity:0}100%{-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg);opacity:1}}@keyframes roll-in-right{0%{-webkit-transform:translateX(800px) rotate(540deg);transform:translateX(800px) rotate(540deg);opacity:0}100%{-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg);opacity:1}} 162 | .roll-in-blurred-right{-webkit-animation:roll-in-blurred-right .65s cubic-bezier(.23,1.000,.32,1.000) both;animation:roll-in-blurred-right .65s cubic-bezier(.23,1.000,.32,1.000) both} 163 | @-webkit-keyframes roll-in-blurred-right{0%{-webkit-transform:translateX(1000px) rotate(720deg);transform:translateX(1000px) rotate(720deg);-webkit-filter:blur(50px);filter:blur(50px);opacity:0}100%{-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg);-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes roll-in-blurred-right{0%{-webkit-transform:translateX(1000px) rotate(720deg);transform:translateX(1000px) rotate(720deg);-webkit-filter:blur(50px);filter:blur(50px);opacity:0}100%{-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg);-webkit-filter:blur(0);filter:blur(0);opacity:1}} 164 | .swing-in-top-bck{-webkit-animation:swing-in-top-bck .6s cubic-bezier(.175,.885,.32,1.275) both;animation:swing-in-top-bck .6s cubic-bezier(.175,.885,.32,1.275) both} 165 | @-webkit-keyframes swing-in-top-bck{0%{-webkit-transform:rotateX(70deg);transform:rotateX(70deg);-webkit-transform-origin:top;transform-origin:top;opacity:0}100%{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);-webkit-transform-origin:top;transform-origin:top;opacity:1}}@keyframes swing-in-top-bck{0%{-webkit-transform:rotateX(70deg);transform:rotateX(70deg);-webkit-transform-origin:top;transform-origin:top;opacity:0}100%{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);-webkit-transform-origin:top;transform-origin:top;opacity:1}} 166 | .fade-in{-webkit-animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1.000) both;animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1.000) both} 167 | @-webkit-keyframes fade-in{0%{opacity:0}100%{opacity:1}}@keyframes fade-in{0%{opacity:0}100%{opacity:1}} 168 | .fade-in-bottom{-webkit-animation:fade-in-bottom .6s cubic-bezier(.39,.575,.565,1.000) both;animation:fade-in-bottom .6s cubic-bezier(.39,.575,.565,1.000) both} 169 | @-webkit-keyframes fade-in-bottom{0%{-webkit-transform:translateY(50px);transform:translateY(50px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes fade-in-bottom{0%{-webkit-transform:translateY(50px);transform:translateY(50px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}} 170 | 171 | .fade-in-left{-webkit-animation:fade-in-left .6s cubic-bezier(.39,.575,.565,1.000) both;animation:fade-in-left .6s cubic-bezier(.39,.575,.565,1.000) both} 172 | @-webkit-keyframes fade-in-left{0%{-webkit-transform:translateX(-50px);transform:translateX(-50px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes fade-in-left{0%{-webkit-transform:translateX(-50px);transform:translateX(-50px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}} 173 | 174 | 175 | .puff-in-hor{-webkit-animation:puff-in-hor .7s cubic-bezier(.47,0.000,.745,.715) both;animation:puff-in-hor .7s cubic-bezier(.47,0.000,.745,.715) both} 176 | @-webkit-keyframes puff-in-hor{0%{-webkit-transform:scaleX(2);transform:scaleX(2);-webkit-filter:blur(2px);filter:blur(2px);opacity:0}100%{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes puff-in-hor{0%{-webkit-transform:scaleX(2);transform:scaleX(2);-webkit-filter:blur(2px);filter:blur(2px);opacity:0}100%{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-filter:blur(0);filter:blur(0);opacity:1}} 177 | 178 | 179 | .puff-in-ver{-webkit-animation:puff-in-ver .7s cubic-bezier(.47,0.000,.745,.715) both;animation:puff-in-ver .7s cubic-bezier(.47,0.000,.745,.715) both} 180 | @-webkit-keyframes puff-in-ver{0%{-webkit-transform:scaleY(2);transform:scaleY(2);-webkit-filter:blur(2px);filter:blur(2px);opacity:0}100%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes puff-in-ver{0%{-webkit-transform:scaleY(2);transform:scaleY(2);-webkit-filter:blur(2px);filter:blur(2px);opacity:0}100%{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-filter:blur(0);filter:blur(0);opacity:1}} 181 | 182 | .puff-in-center{-webkit-animation:puff-in-center .7s cubic-bezier(.47,0.000,.745,.715) both;animation:puff-in-center .7s cubic-bezier(.47,0.000,.745,.715) both} 183 | @-webkit-keyframes puff-in-center{0%{-webkit-transform:scale(2);transform:scale(2);-webkit-filter:blur(2px);filter:blur(2px);opacity:0}100%{-webkit-transform:scale(1);transform:scale(1);-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes puff-in-center{0%{-webkit-transform:scale(2);transform:scale(2);-webkit-filter:blur(2px);filter:blur(2px);opacity:0}100%{-webkit-transform:scale(1);transform:scale(1);-webkit-filter:blur(0);filter:blur(0);opacity:1}} 184 | 185 | .slide-in-blurred-top{-webkit-animation:slide-in-blurred-top .5s cubic-bezier(.23,1.000,.32,1.000) both;animation:slide-in-blurred-top .5s cubic-bezier(.23,1.000,.32,1.000) both} 186 | @-webkit-keyframes slide-in-blurred-top{0%{-webkit-transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform:translateY(-1000px) scaleY(2.5) scaleX(.2);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-filter:blur(40px);filter:blur(40px);opacity:0}100%{-webkit-transform:translateY(0) scaleY(1) scaleX(1);transform:translateY(0) scaleY(1) scaleX(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes slide-in-blurred-top{0%{-webkit-transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform:translateY(-1000px) scaleY(2.5) scaleX(.2);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-filter:blur(40px);filter:blur(40px);opacity:0}100%{-webkit-transform:translateY(0) scaleY(1) scaleX(1);transform:translateY(0) scaleY(1) scaleX(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0);opacity:1}} 187 | 188 | 189 | .tracking-in-expand{-webkit-animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1.000) both;animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1.000) both} 190 | @-webkit-keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}} 191 | 192 | .rotate-scale-down-diag-2{-webkit-animation:rotate-scale-down-diag-2 .7s linear both;animation:rotate-scale-down-diag-2 .7s linear both} 193 | @-webkit-keyframes rotate-scale-down-diag-2{0%{-webkit-transform:scale(1) rotate3d(-1,1,0,0deg);transform:scale(1) rotate3d(-1,1,0,0deg)}50%{-webkit-transform:scale(.5) rotate3d(-1,1,0,180deg);transform:scale(.5) rotate3d(-1,1,0,180deg)}100%{-webkit-transform:scale(1) rotate3d(-1,1,0,360deg);transform:scale(1) rotate3d(-1,1,0,360deg)}}@keyframes rotate-scale-down-diag-2{0%{-webkit-transform:scale(1) rotate3d(-1,1,0,0deg);transform:scale(1) rotate3d(-1,1,0,0deg)}50%{-webkit-transform:scale(.5) rotate3d(-1,1,0,180deg);transform:scale(.5) rotate3d(-1,1,0,180deg)}100%{-webkit-transform:scale(1) rotate3d(-1,1,0,360deg);transform:scale(1) rotate3d(-1,1,0,360deg)}} 194 | 195 | 196 | .rotate-scale-up-diag-1{-webkit-animation:rotate-scale-up-diag-1 .7s linear both;animation:rotate-scale-up-diag-1 .7s linear both} 197 | @-webkit-keyframes rotate-scale-up-diag-1{0%{-webkit-transform:scale(1) rotate3d(1,1,0,0deg);transform:scale(1) rotate3d(1,1,0,0deg)}50%{-webkit-transform:scale(2) rotate3d(1,1,0,-180deg);transform:scale(2) rotate3d(1,1,0,-180deg)}100%{-webkit-transform:scale(1) rotate3d(1,1,0,-360deg);transform:scale(1) rotate3d(1,1,0,-360deg)}}@keyframes rotate-scale-up-diag-1{0%{-webkit-transform:scale(1) rotate3d(1,1,0,0deg);transform:scale(1) rotate3d(1,1,0,0deg)}50%{-webkit-transform:scale(2) rotate3d(1,1,0,-180deg);transform:scale(2) rotate3d(1,1,0,-180deg)}100%{-webkit-transform:scale(1) rotate3d(1,1,0,-360deg);transform:scale(1) rotate3d(1,1,0,-360deg)}} 198 | 199 | 200 | 201 | .roll-in-bottom{-webkit-animation:roll-in-bottom .6s ease-out both;animation:roll-in-bottom .6s ease-out both} 202 | @-webkit-keyframes roll-in-bottom{0%{-webkit-transform:translateY(800px) rotate(540deg);transform:translateY(800px) rotate(540deg);opacity:0}100%{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg);opacity:1}}@keyframes roll-in-bottom{0%{-webkit-transform:translateY(800px) rotate(540deg);transform:translateY(800px) rotate(540deg);opacity:0}100%{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg);opacity:1}} 203 | 204 | 205 | .fade-in-bl{-webkit-animation:fade-in-bl .6s cubic-bezier(.39,.575,.565,1.000) both;animation:fade-in-bl .6s cubic-bezier(.39,.575,.565,1.000) both} 206 | @-webkit-keyframes fade-in-bl{0%{-webkit-transform:translateX(-50px) translateY(50px);transform:translateX(-50px) translateY(50px);opacity:0}100%{-webkit-transform:translateX(0) translateY(0);transform:translateX(0) translateY(0);opacity:1}}@keyframes fade-in-bl{0%{-webkit-transform:translateX(-50px) translateY(50px);transform:translateX(-50px) translateY(50px);opacity:0}100%{-webkit-transform:translateX(0) translateY(0);transform:translateX(0) translateY(0);opacity:1}} 207 | 208 | .fade-in-right{-webkit-animation:fade-in-right .6s cubic-bezier(.39,.575,.565,1.000) both;animation:fade-in-right .6s cubic-bezier(.39,.575,.565,1.000) both} 209 | @-webkit-keyframes fade-in-right{0%{-webkit-transform:translateX(50px);transform:translateX(50px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes fade-in-right{0%{-webkit-transform:translateX(50px);transform:translateX(50px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}} 210 | 211 | 212 | .slide-in-elliptic-top-fwd{-webkit-animation:slide-in-elliptic-top-fwd .7s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-elliptic-top-fwd .7s cubic-bezier(.25,.46,.45,.94) both} 213 | @-webkit-keyframes slide-in-elliptic-top-fwd{0%{-webkit-transform:translateY(-600px) rotateX(-30deg) scale(0);transform:translateY(-600px) rotateX(-30deg) scale(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}100%{-webkit-transform:translateY(0) rotateX(0) scale(1);transform:translateY(0) rotateX(0) scale(1);-webkit-transform-origin:50% 1400px;transform-origin:50% 1400px;opacity:1}}@keyframes slide-in-elliptic-top-fwd{0%{-webkit-transform:translateY(-600px) rotateX(-30deg) scale(0);transform:translateY(-600px) rotateX(-30deg) scale(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}100%{-webkit-transform:translateY(0) rotateX(0) scale(1);transform:translateY(0) rotateX(0) scale(1);-webkit-transform-origin:50% 1400px;transform-origin:50% 1400px;opacity:1}} 214 | 215 | 216 | .slide-in-elliptic-top-bck{-webkit-animation:slide-in-elliptic-top-bck .7s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-elliptic-top-bck .7s cubic-bezier(.25,.46,.45,.94) both} 217 | @-webkit-keyframes slide-in-elliptic-top-bck{0%{-webkit-transform:translateY(-600px) rotateX(30deg) scale(6.5);transform:translateY(-600px) rotateX(30deg) scale(6.5);-webkit-transform-origin:50% 200%;transform-origin:50% 200%;opacity:0}100%{-webkit-transform:translateY(0) rotateX(0) scale(1);transform:translateY(0) rotateX(0) scale(1);-webkit-transform-origin:50% -500px;transform-origin:50% -500px;opacity:1}}@keyframes slide-in-elliptic-top-bck{0%{-webkit-transform:translateY(-600px) rotateX(30deg) scale(6.5);transform:translateY(-600px) rotateX(30deg) scale(6.5);-webkit-transform-origin:50% 200%;transform-origin:50% 200%;opacity:0}100%{-webkit-transform:translateY(0) rotateX(0) scale(1);transform:translateY(0) rotateX(0) scale(1);-webkit-transform-origin:50% -500px;transform-origin:50% -500px;opacity:1}} 218 | 219 | .slide-in-elliptic-right-fwd{-webkit-animation:slide-in-elliptic-right-fwd .7s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-elliptic-right-fwd .7s cubic-bezier(.25,.46,.45,.94) both} 220 | @-webkit-keyframes slide-in-elliptic-right-fwd{0%{-webkit-transform:translateX(800px) rotateY(-30deg) scale(0);transform:translateX(800px) rotateY(-30deg) scale(0);-webkit-transform-origin:-100% 50%;transform-origin:-100% 50%;opacity:0}100%{-webkit-transform:translateX(0) rotateY(0) scale(1);transform:translateX(0) rotateY(0) scale(1);-webkit-transform-origin:-1800px 50%;transform-origin:-1800px 50%;opacity:1}}@keyframes slide-in-elliptic-right-fwd{0%{-webkit-transform:translateX(800px) rotateY(-30deg) scale(0);transform:translateX(800px) rotateY(-30deg) scale(0);-webkit-transform-origin:-100% 50%;transform-origin:-100% 50%;opacity:0}100%{-webkit-transform:translateX(0) rotateY(0) scale(1);transform:translateX(0) rotateY(0) scale(1);-webkit-transform-origin:-1800px 50%;transform-origin:-1800px 50%;opacity:1}} 221 | 222 | 223 | 224 | .slide-in-elliptic-bottom-fwd{-webkit-animation:slide-in-elliptic-bottom-fwd .7s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-elliptic-bottom-fwd .7s cubic-bezier(.25,.46,.45,.94) both} 225 | @-webkit-keyframes slide-in-elliptic-bottom-fwd{0%{-webkit-transform:translateY(600px) rotateX(30deg) scale(0);transform:translateY(600px) rotateX(30deg) scale(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}100%{-webkit-transform:translateY(0) rotateX(0) scale(1);transform:translateY(0) rotateX(0) scale(1);-webkit-transform-origin:50% -1400px;transform-origin:50% -1400px;opacity:1}}@keyframes slide-in-elliptic-bottom-fwd{0%{-webkit-transform:translateY(600px) rotateX(30deg) scale(0);transform:translateY(600px) rotateX(30deg) scale(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0}100%{-webkit-transform:translateY(0) rotateX(0) scale(1);transform:translateY(0) rotateX(0) scale(1);-webkit-transform-origin:50% -1400px;transform-origin:50% -1400px;opacity:1}} 226 | -------------------------------------------------------------------------------- /src/assets/icon/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/icon/favicon.png -------------------------------------------------------------------------------- /src/assets/images/demo/admin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/demo/admin.jpg -------------------------------------------------------------------------------- /src/assets/images/demo/animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/demo/animation.gif -------------------------------------------------------------------------------- /src/assets/images/demo/ionic-clothes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/demo/ionic-clothes.jpg -------------------------------------------------------------------------------- /src/assets/images/demo/ionic-dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/demo/ionic-dark.jpg -------------------------------------------------------------------------------- /src/assets/images/demo/ionic-fruit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/demo/ionic-fruit.jpg -------------------------------------------------------------------------------- /src/assets/images/demo/ionic-gray.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/demo/ionic-gray.jpg -------------------------------------------------------------------------------- /src/assets/images/demo/recommand.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/demo/recommand.jpg -------------------------------------------------------------------------------- /src/assets/images/list/an1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/an1.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl1.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl10.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl11.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl12.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl13.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl14.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl15.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl16.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl17.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl18.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl2.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl3.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl4.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl5.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl6.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl7.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl8.jpg -------------------------------------------------------------------------------- /src/assets/images/list/girl9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/girl9.jpg -------------------------------------------------------------------------------- /src/assets/images/list/imgpicker1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/imgpicker1.jpg -------------------------------------------------------------------------------- /src/assets/images/list/imgpicker2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/list/imgpicker2.jpg -------------------------------------------------------------------------------- /src/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionictemplate-app/ionic-animation/fd8e0293f5529a04b6dd0f450343f36211c469c2/src/assets/images/logo.png -------------------------------------------------------------------------------- /src/assets/shapes.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. 3 | // The list of file replacements can be found in `angular.json`. 4 | 5 | export const environment = { 6 | production: false 7 | }; 8 | 9 | /* 10 | * For easier debugging in development mode, you can import the following file 11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. 12 | * 13 | * This import should be commented out in production mode because it will have a negative impact 14 | * on performance if an error is thrown. 15 | */ 16 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI. 17 | -------------------------------------------------------------------------------- /src/global.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * App Global CSS 3 | * ---------------------------------------------------------------------------- 4 | * Put style rules here that you want to apply globally. These styles are for 5 | * the entire app and not just one component. Additionally, this file can be 6 | * used as an entry point to import other CSS/Sass files to be included in the 7 | * output CSS. 8 | * For more information on global stylesheets, visit the documentation: 9 | * https://ionicframework.com/docs/layout/global-stylesheets 10 | */ 11 | 12 | /* Core CSS required for Ionic components to work properly */ 13 | @import "~@ionic/angular/css/core.css"; 14 | 15 | /* Basic CSS for apps built with Ionic */ 16 | @import "~@ionic/angular/css/normalize.css"; 17 | @import "~@ionic/angular/css/structure.css"; 18 | @import "~@ionic/angular/css/typography.css"; 19 | @import '~@ionic/angular/css/display.css'; 20 | 21 | /* Optional CSS utils that can be commented out */ 22 | @import "~@ionic/angular/css/padding.css"; 23 | @import "~@ionic/angular/css/float-elements.css"; 24 | @import "~@ionic/angular/css/text-alignment.css"; 25 | @import "~@ionic/angular/css/text-transformation.css"; 26 | @import "~@ionic/angular/css/flex-utils.css"; 27 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Ionic Animation Demo App 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.log(err)); 13 | -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file includes polyfills needed by Angular and is loaded before the app. 3 | * You can add your own extra polyfills to this file. 4 | * 5 | * This file is divided into 2 sections: 6 | * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. 7 | * 2. Application imports. Files imported after ZoneJS that should be loaded before your main 8 | * file. 9 | * 10 | * The current setup is for so-called "evergreen" browsers; the last versions of browsers that 11 | * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), 12 | * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. 13 | * 14 | * Learn more in https://angular.io/guide/browser-support 15 | */ 16 | 17 | /*************************************************************************************************** 18 | * BROWSER POLYFILLS 19 | */ 20 | 21 | /** IE10 and IE11 requires the following for NgClass support on SVG elements */ 22 | // import 'classlist.js'; // Run `npm install --save classlist.js`. 23 | 24 | /** 25 | * Web Animations `@angular/platform-browser/animations` 26 | * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. 27 | * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). 28 | */ 29 | // import 'web-animations-js'; // Run `npm install --save web-animations-js`. 30 | 31 | /** 32 | * By default, zone.js will patch all possible macroTask and DomEvents 33 | * user can disable parts of macroTask/DomEvents patch by setting following flags 34 | * because those flags need to be set before `zone.js` being loaded, and webpack 35 | * will put import in the top of bundle, so user need to create a separate file 36 | * in this directory (for example: zone-flags.ts), and put the following flags 37 | * into that file, and then add the following code before importing zone.js. 38 | * import './zone-flags.ts'; 39 | * 40 | * The flags allowed in zone-flags.ts are listed here. 41 | * 42 | * The following flags will work for all browsers. 43 | * 44 | * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame 45 | * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick 46 | * (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames 47 | * 48 | * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js 49 | * with the following flag, it will bypass `zone.js` patch for IE/Edge 50 | * 51 | * (window as any).__Zone_enable_cross_context_check = true; 52 | * 53 | */ 54 | 55 | import './zone-flags.ts'; 56 | 57 | /*************************************************************************************************** 58 | * Zone JS is required by default for Angular itself. 59 | */ 60 | 61 | import 'zone.js/dist/zone'; // Included with Angular CLI. 62 | 63 | 64 | /*************************************************************************************************** 65 | * APPLICATION IMPORTS 66 | */ 67 | -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting 8 | } from '@angular/platform-browser-dynamic/testing'; 9 | 10 | declare const require: any; 11 | 12 | // First, initialize the Angular testing environment. 13 | getTestBed().initTestEnvironment( 14 | BrowserDynamicTestingModule, 15 | platformBrowserDynamicTesting() 16 | ); 17 | // Then we find all the tests. 18 | const context = require.context('./', true, /\.spec\.ts$/); 19 | // And load the modules. 20 | context.keys().map(context); 21 | -------------------------------------------------------------------------------- /src/theme/variables.scss: -------------------------------------------------------------------------------- 1 | // Ionic Variables and Theming. For more info, please see: 2 | // http://ionicframework.com/docs/theming/ 3 | 4 | /** Ionic CSS Variables **/ 5 | :root { 6 | /** primary **/ 7 | --ion-color-primary: #3880ff; 8 | --ion-color-primary-rgb: 56, 128, 255; 9 | --ion-color-primary-contrast: #ffffff; 10 | --ion-color-primary-contrast-rgb: 255, 255, 255; 11 | --ion-color-primary-shade: #3171e0; 12 | --ion-color-primary-tint: #4c8dff; 13 | 14 | /** secondary **/ 15 | --ion-color-secondary: #0cd1e8; 16 | --ion-color-secondary-rgb: 12, 209, 232; 17 | --ion-color-secondary-contrast: #ffffff; 18 | --ion-color-secondary-contrast-rgb: 255, 255, 255; 19 | --ion-color-secondary-shade: #0bb8cc; 20 | --ion-color-secondary-tint: #24d6ea; 21 | 22 | /** tertiary **/ 23 | --ion-color-tertiary: #7044ff; 24 | --ion-color-tertiary-rgb: 112, 68, 255; 25 | --ion-color-tertiary-contrast: #ffffff; 26 | --ion-color-tertiary-contrast-rgb: 255, 255, 255; 27 | --ion-color-tertiary-shade: #633ce0; 28 | --ion-color-tertiary-tint: #7e57ff; 29 | 30 | /** success **/ 31 | --ion-color-success: #10dc60; 32 | --ion-color-success-rgb: 16, 220, 96; 33 | --ion-color-success-contrast: #ffffff; 34 | --ion-color-success-contrast-rgb: 255, 255, 255; 35 | --ion-color-success-shade: #0ec254; 36 | --ion-color-success-tint: #28e070; 37 | 38 | /** warning **/ 39 | --ion-color-warning: #ffce00; 40 | --ion-color-warning-rgb: 255, 206, 0; 41 | --ion-color-warning-contrast: #ffffff; 42 | --ion-color-warning-contrast-rgb: 255, 255, 255; 43 | --ion-color-warning-shade: #e0b500; 44 | --ion-color-warning-tint: #ffd31a; 45 | 46 | /** danger **/ 47 | --ion-color-danger: #f04141; 48 | --ion-color-danger-rgb: 245, 61, 61; 49 | --ion-color-danger-contrast: #ffffff; 50 | --ion-color-danger-contrast-rgb: 255, 255, 255; 51 | --ion-color-danger-shade: #d33939; 52 | --ion-color-danger-tint: #f25454; 53 | 54 | /** dark **/ 55 | --ion-color-dark: #222428; 56 | --ion-color-dark-rgb: 34, 34, 34; 57 | --ion-color-dark-contrast: #ffffff; 58 | --ion-color-dark-contrast-rgb: 255, 255, 255; 59 | --ion-color-dark-shade: #1e2023; 60 | --ion-color-dark-tint: #383a3e; 61 | 62 | /** medium **/ 63 | --ion-color-medium: #989aa2; 64 | --ion-color-medium-rgb: 152, 154, 162; 65 | --ion-color-medium-contrast: #ffffff; 66 | --ion-color-medium-contrast-rgb: 255, 255, 255; 67 | --ion-color-medium-shade: #86888f; 68 | --ion-color-medium-tint: #a2a4ab; 69 | 70 | /** light **/ 71 | --ion-color-light: #f4f5f8; 72 | --ion-color-light-rgb: 244, 244, 244; 73 | --ion-color-light-contrast: #000000; 74 | --ion-color-light-contrast-rgb: 0, 0, 0; 75 | --ion-color-light-shade: #d7d8da; 76 | --ion-color-light-tint: #f5f6f9; 77 | } 78 | -------------------------------------------------------------------------------- /src/zone-flags.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prevents Angular change detection from 3 | * running with certain Web Component callbacks 4 | */ 5 | (window as any).__Zone_disable_customElements = true; 6 | -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/app", 5 | "types": [] 6 | }, 7 | "include": [ 8 | "src/**/*.ts" 9 | ], 10 | "exclude": [ 11 | "src/test.ts", 12 | "src/**/*.spec.ts" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "./", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "module": "esnext", 9 | "moduleResolution": "node", 10 | "emitDecoratorMetadata": true, 11 | "experimentalDecorators": true, 12 | "importHelpers": true, 13 | "target": "es2015", 14 | "typeRoots": [ 15 | "node_modules/@types" 16 | ], 17 | "lib": [ 18 | "es2018", 19 | "dom" 20 | ] 21 | }, 22 | "angularCompilerOptions": { 23 | "fullTemplateTypeCheck": true, 24 | "strictInjectionParameters": true 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/zone-flags.ts", 13 | "src/polyfills.ts" 14 | ], 15 | "include": [ 16 | "src/**/*.spec.ts", 17 | "src/**/*.d.ts" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "tslint:recommended", 3 | "rulesDirectory": [ 4 | "codelyzer" 5 | ], 6 | "rules": { 7 | "array-type": false, 8 | "arrow-parens": false, 9 | "deprecation": { 10 | "severity": "warn" 11 | }, 12 | "import-blacklist": [ 13 | true, 14 | "rxjs/Rx" 15 | ], 16 | "interface-name": false, 17 | "max-classes-per-file": false, 18 | "max-line-length": [ 19 | true, 20 | 140 21 | ], 22 | "member-access": false, 23 | "member-ordering": [ 24 | true, 25 | { 26 | "order": [ 27 | "static-field", 28 | "instance-field", 29 | "static-method", 30 | "instance-method" 31 | ] 32 | } 33 | ], 34 | "no-consecutive-blank-lines": false, 35 | "no-console": [ 36 | true, 37 | "debug", 38 | "info", 39 | "time", 40 | "timeEnd", 41 | "trace" 42 | ], 43 | "no-empty": false, 44 | "no-inferrable-types": [ 45 | true, 46 | "ignore-params" 47 | ], 48 | "no-non-null-assertion": true, 49 | "no-redundant-jsdoc": true, 50 | "no-switch-case-fall-through": true, 51 | "no-use-before-declare": true, 52 | "no-var-requires": false, 53 | "object-literal-key-quotes": [ 54 | true, 55 | "as-needed" 56 | ], 57 | "object-literal-sort-keys": false, 58 | "ordered-imports": false, 59 | "quotemark": [ 60 | true, 61 | "single" 62 | ], 63 | "trailing-comma": false, 64 | "no-output-on-prefix": true, 65 | "no-inputs-metadata-property": true, 66 | "no-host-metadata-property": true, 67 | "no-input-rename": true, 68 | "no-output-rename": true, 69 | "use-lifecycle-interface": true, 70 | "use-pipe-transform-interface": true, 71 | "one-variable-per-declaration": false, 72 | "component-class-suffix": [true, "Page", "Component"], 73 | "directive-class-suffix": true, 74 | "directive-selector": [ 75 | true, 76 | "attribute", 77 | "app", 78 | "camelCase" 79 | ], 80 | "component-selector": [ 81 | true, 82 | "element", 83 | "app", 84 | "page", 85 | "kebab-case" 86 | ] 87 | } 88 | } 89 | --------------------------------------------------------------------------------