Add fail handler
This commit is contained in:
@@ -85,6 +85,12 @@ export interface LinkMatcherOptions {
|
||||
* false if invalid.
|
||||
*/
|
||||
validationCallback?: LinkMatcherValidationCallback;
|
||||
/**
|
||||
* A callback that fires when a link click fails due to ctrl or cmd (mac) not
|
||||
* being pressed. This allows hinting to the user after a likely failed
|
||||
* click.
|
||||
*/
|
||||
clickFailCallback?: (event: MouseEvent) => any;
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user