-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to the new LinkAnnotation API (#425)
* replace deprecated UrlAnnotation with LinkAnnotation * extract determinePointerIcon() * Replace deprecated UrlAnnotation with LinkAnnotation * replace deprecated ClickableText * Introduced LinkAnnotation.Clickable to drive the behaviour of links * Replaced SimpleClickableText with the good ol' Text * Successfully wired onUrlClick and onTextClick lambdas and the enabled flag. Closes #418 * update api files * add disabled UI for links When links are disabled, we show something that looks like a link, but it's not clickable and has no 👆 pointer icon. * add a checkbox to toggle links in the Markdown standalone showcase
- Loading branch information
Showing
7 changed files
with
136 additions
and
108 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
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
Oops, something went wrong.