@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
18 lines (17 loc) • 645 B
TypeScript
import { GuidValue, ILinkHandlerProvider, LinkType, LinkTypeConfig } from "@omnia/fx-models";
/**
* DefaultLinkHandlerProvider class
* @description Provider for handling url by opening url (default browser function) with fallback function support
*/
export declare class DefaultLinkHandlerProvider implements ILinkHandlerProvider {
name: string;
id: GuidValue;
weight: number;
/**
* The class constructor
* @constructor
* @param handler The handler function. Should be passed in api hub extension call
*/
constructor();
handler: (url: string, linkType: LinkType, config?: LinkTypeConfig) => any;
}