-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(link): Allow email links without the external icon #1695
Conversation
Codecov Report
@@ Coverage Diff @@
## release #1695 +/- ##
===========================================
+ Coverage 95.73% 95.73% +<.01%
===========================================
Files 130 130
Lines 5200 5207 +7
Branches 895 862 -33
===========================================
+ Hits 4978 4985 +7
- Misses 217 222 +5
+ Partials 5 0 -5
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_
/** | ||
* Decide whether an external icon should be shown | ||
*/ | ||
@Input() |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
public get destination(): string | string[] | undefined { | ||
return this._destination; | ||
} | ||
public set destination(value: string | string[] | undefined) { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
return this._destination; | ||
} | ||
public set destination(value: string | string[] | undefined) { | ||
if (typeof (value) === 'string' && (value.includes('mailto') || value.includes('tel'))) { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
4bfa626
to
767443c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
closes #1627