Support hover callback in links

This commit is contained in:
Daniel Imms
2017-09-03 12:47:04 -07:00
parent 923ea7247c
commit b30cb58ff4
5 changed files with 38 additions and 15 deletions
+4
View File
@@ -236,6 +236,10 @@ export interface ILinkMatcherOptions {
* false if invalid.
*/
validationCallback?: LinkMatcherValidationCallback;
/**
* A callback that fired when the mouse hovers over a link.
*/
hoverCallback?: LinkMatcherHandler;
/**
* The priority of the link matcher, this defines the order in which the link
* matcher is evaluated relative to others, from highest to lowest. The