mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-10-01 01:27:17 +13:00
16 lines
304 B
TypeScript
16 lines
304 B
TypeScript
|
export interface I_faExternalLinksManagerAPI {
|
||
|
|
||
|
/**
|
||
|
* Check the type of link input
|
||
|
* true - Is external
|
||
|
* false - is not external
|
||
|
*/
|
||
|
checkIfExternal: (url: string) => boolean
|
||
|
|
||
|
/**
|
||
|
* Open external link in the default browser of the user
|
||
|
*/
|
||
|
openExternal: (url: string) => void
|
||
|
|
||
|
}
|