nzAnimate | Sickly simple animations for AngularJS | Animation library
kandi X-RAY | nzAnimate Summary
kandi X-RAY | nzAnimate Summary
A sickly simple class-based library for Angular animations. Built on Animate.css and animate-stylus, nzAnimate not only provides the regular functionality of Animate.css, but also provides easier classes for Angular animations on directives like ng-repeat (ng-enter, ng-leave), ng-hide, ng-show, or any other directives that leverage the ngAnimate module.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nzAnimate
nzAnimate Key Features
nzAnimate Examples and Code Snippets
Community Discussions
Trending Discussions on nzAnimate
QUESTION
In my application I created an action to delete a user, however before deleting this user is informed a Dialog
on the screen asking to inform the administrator password, if the administrator password is correct then it deletes the user.
My problem is when the administrator password is incorrect incorrect I call an action to say that the password entered is not valid and after that moment I can no longer complete the action by entering a valid password.
Sequence of shares:
[User] delete user;
[Auth] reauthenticate user;
[Auth] reauthenticate error (password is invalid);
[Auth] reauthenticate user
[Auth] reauthenticate user
[Auth] reauthenticate user
NO SUCCESS AND NO ERROR
Problem: After this occurs when I try to call the reauthentication action again with a valid password, only the Reauthenticate
function is called but it is not detected that this action completed successfully.
I have seen in some source information about using Ngrx that in a way how an @Effect
is created to listen to the call of the action, after the call is made and an error occurs this action can no longer be called again returning success.
Can this be true?
usuarios.effects.ts:
...ANSWER
Answered 2018-Aug-29 at 13:22This is because the Observable completes when it catches an error. You have to catch the error internally so that the external Observable continues to emit:
QUESTION
The DelonModule
is a third file.It has many functions to help development,such as ACL
auth
etc.
The point is,I packed up it normally several days ago.But somehow it report the error ERROR in Error during template compile of 'AppModule' Function calls are not supported in decorators but 'DelonModule' was called.
when I input the command ng build
.
Code of delon.module.ts
as below(core code
)
ANSWER
Answered 2018-Mar-31 at 16:39it is just because you are executing some code in forRoot, you shoud remove :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nzAnimate
$ bower/npm install nz-animate --save
Add nzAnimate.min.css or nzAnimate.css
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page