GithubHelp home page GithubHelp logo

ack-angular-fx's People

Contributors

ackerapple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ack-angular-fx's Issues

Type error when ng build (on Angular 5.2.11 and fx 3.0.2)

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.

How to use it to animate router-outlet component enter ?

Hi there, I need some help If you can please,
I'm trying to add animation to component enter via router outlet. I have compiled the 'prefx' file. Added it to 'animations' to the compoenent decorator. Do I specify the animation via host like so ? in AOT I can use any API's right ?

image

Cannot read property 'igniter' of undefined

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)

Function calls are not supported in decorators but 'inOutTransitions' was called in 'fxArray'

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.