Add fail handler

This commit is contained in:
Daniel Imms
2017-03-04 14:01:34 -08:00
parent 15a867d2b7
commit 1ecc5674ac
3 changed files with 21 additions and 6 deletions
+1
View File
@@ -8,6 +8,7 @@ export type LinkMatcher = {
handler: LinkMatcherHandler,
matchIndex?: number,
validationCallback?: LinkMatcherValidationCallback,
clickFailCallback?: (event: MouseEvent) => any,
priority?: number
};
export type LinkMatcherHandler = (uri: string) => void;