ackerapple / ack-angular-fx Goto Github PK
View Code? Open in Web Editor NEWAngular animations made easier
License: MIT License
Angular animations made easier
License: MIT License
Thanks for this great library that works so well and is so easy to add animations quickly to my project! Totally loving it and using it in 2 separate projects now.
I have no issues in local dev but when I deploy and run ng build
, I get a "must declare type" error on this line:
export declare const animations: import("@angular/animations").AnimationTriggerMetadata[];
If I revert to version 2.3.1 then there is no build error.
Is it possible to animate component enter / leave (create/destroy) ?
I get this error message when trying to build with angular cli.
If I just use ng serve
it works.
I'm using the latest version of ack-angular-fx and angular.
> ng build --prod
Date: 2018-02-28T22:56:02.186Z
Hash: 994489f07662490f88eb
Time: 12421ms
chunk {0} styles.d6ad1a9bb356a859bd33.bundle.css (styles) 118 kB [initial] [rendered]
chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes [initial] [rendered]
chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.22b7623ed7c5ac6f9a35.bundle.js (inline) 1.45 kB [entry] [rendered]
ERROR in app\log-upload\log-upload.component.ts(34,15): Error during template compile of 'LogUploadComponent'
Function calls are not supported in decorators but 'inOutTransitions' was called in 'fxArray'
'fxArray' references 'fxArray'
'fxArray' references 'triggers' at ..\ack-angular-fx\dist\allFx.ts(14,6)
'triggers' calls 'inOutTransitions' at ..\ack-angular-fx\dist\animations\fade.ts(86,3).
This error appears on console
Uncaught TypeError: Cannot read property 'igniter' of undefined
at processSelect (index.js:160)
at getFxArray (index.js:141)
at upgradeComponent (index.js:107)
at Object.upgradeComponents (index.js:166)
at Object.../../../../../src/app/module/layout/layout.module.ts (layout.module.ts:31)
at __webpack_require__ (bootstrap 0984568…:54)
at Object.../../../../../src/app/app.module.ts (app.component.ts:8)
at __webpack_require__ (bootstrap 0984568…:54)
at Object.../../../../../src/main.ts (environment.ts:9)
at __webpack_require__ (bootstrap 0984568…:54)
Currently, fadeInUp animated both in and out. Reduce to only animate in.
Add new classes like fadeInOutUp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.