-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(module): Catchable Errors for suppression and custom Error Handl…
…ing (#57) Errors can now be caught on the `Observable` chain from within the `subscribe` method. The second parameter to `subscribe` contains the Error callback function, from which one can extract the error and handle as pleased. This closes #50
- Loading branch information
Nicky Lenaers
authored
Dec 3, 2017
1 parent
8ed7b63
commit 0af1208
Showing
6 changed files
with
52 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<button | ||
(click)="show()" | ||
[ngx-scroll-to-duration]="4000" | ||
[ngx-scroll-to]="'destination'" | ||
>Go</button> | ||
<section id="destination"> | ||
<section *ngIf="visible" id="destination"> | ||
You've reached your destination. | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
src/app/modules/scroll-to/decorators/scroll-to-timeout.decorator.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters