-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(component): *deprecate*
error
output in favor of errored
`(error)` will be removed in the next major version due to a name clash with DOM Element's [`'error'` event](https://developer.mozilla.org/en-US/docs/Web/API/Element/error_event). `(errored)` is an equivalent substitute. *Failure* to properly address this deprecation before its removal *may result in breakages* of custom error handling code (for when `errorMode` parameter value is set to `"handled"`).
- Loading branch information
Showing
5 changed files
with
14 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<re-captcha (resolved)="resolved($event)" (error)="onError($event)" errorMode="handled"></re-captcha> | ||
<re-captcha (resolved)="resolved($event)" (errored)="onError($event)" errorMode="handled"></re-captcha> |
2 changes: 1 addition & 1 deletion
2
projects/demo/src/app/examples/invisible/invisible-demo.component.html
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