mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-22 10:36:26 +08:00
refactor(IonicDeeplink):
This commit is contained in:
parent
6d87f6ecb0
commit
7c39e91b68
@ -1,5 +1,6 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import { Cordova, Plugin } from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import { Observable } from 'rxjs/Observable';
|
||||||
|
|
||||||
|
|
||||||
export interface DeeplinkMatch {
|
export interface DeeplinkMatch {
|
||||||
/**
|
/**
|
||||||
@ -17,7 +18,7 @@ export interface DeeplinkMatch {
|
|||||||
* any internal native data available as "extras" at the time
|
* any internal native data available as "extras" at the time
|
||||||
* the route was matched (for example, Facebook sometimes adds extra data)
|
* the route was matched (for example, Facebook sometimes adds extra data)
|
||||||
*/
|
*/
|
||||||
$link: any;
|
$link: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -52,7 +53,7 @@ export class Deeplinks {
|
|||||||
@Cordova({
|
@Cordova({
|
||||||
observable: true
|
observable: true
|
||||||
})
|
})
|
||||||
static route(paths): Observable<DeeplinkMatch> {return; }
|
static route(paths): Observable<DeeplinkMatch> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -75,5 +76,5 @@ export class Deeplinks {
|
|||||||
@Cordova({
|
@Cordova({
|
||||||
observable: true
|
observable: true
|
||||||
})
|
})
|
||||||
static routeWithNavController(navController, paths): Observable<DeeplinkMatch> {return; }
|
static routeWithNavController(navController, paths): Observable<DeeplinkMatch> { return; }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user