mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+16
-16
@@ -97,8 +97,8 @@ declare module 'ionic' {
|
||||
export = ionic;
|
||||
}
|
||||
|
||||
declare module ionic {
|
||||
module actionSheet {
|
||||
declare namespace ionic {
|
||||
namespace actionSheet {
|
||||
interface IonicActionSheetService {
|
||||
show(options: IonicActionSheetOptions): ()=>void;
|
||||
}
|
||||
@@ -117,13 +117,13 @@ declare module ionic {
|
||||
cssClass?: string;
|
||||
}
|
||||
}
|
||||
module backdrop {
|
||||
namespace backdrop {
|
||||
interface IonicBackdropService {
|
||||
retain(): void;
|
||||
release(): void;
|
||||
}
|
||||
}
|
||||
module gestures {
|
||||
namespace gestures {
|
||||
interface IonicGestureService {
|
||||
on(eventType: string, callback: (e: any)=>any, $element: angular.IAugmentedJQuery, options: any): IonicGesture;
|
||||
off(gesture: IonicGesture, eventType: string, callback: (e: any)=>any): void;
|
||||
@@ -140,7 +140,7 @@ declare module ionic {
|
||||
}
|
||||
|
||||
}
|
||||
module list {
|
||||
namespace list {
|
||||
interface IonicListDelegate {
|
||||
showReorder(showReorder?: boolean): boolean;
|
||||
showDelete(showDelete?: boolean): boolean;
|
||||
@@ -149,7 +149,7 @@ declare module ionic {
|
||||
$getByHandle(handle: string): IonicListDelegate;
|
||||
}
|
||||
}
|
||||
module loading {
|
||||
namespace loading {
|
||||
interface IonicLoadingService {
|
||||
show(opts?: IonicLoadingOptions): void;
|
||||
hide(): void;
|
||||
@@ -164,7 +164,7 @@ declare module ionic {
|
||||
duration?: number;
|
||||
}
|
||||
}
|
||||
module modal {
|
||||
namespace modal {
|
||||
interface IonicModalService {
|
||||
fromTemplate(templateString: string, options?: IonicModalOptions): IonicModalController;
|
||||
fromTemplateUrl(templateUrl: string, options?: IonicModalOptions): angular.IPromise<IonicModalController>;
|
||||
@@ -186,7 +186,7 @@ declare module ionic {
|
||||
hardwareBackButtonClose?: boolean;
|
||||
}
|
||||
}
|
||||
module navigation {
|
||||
namespace navigation {
|
||||
interface IonicNavBarDelegate {
|
||||
align(direction?: string): void;
|
||||
showBackButton(show?: boolean): boolean;
|
||||
@@ -219,7 +219,7 @@ declare module ionic {
|
||||
historyRoot?: boolean;
|
||||
}
|
||||
}
|
||||
module platform {
|
||||
namespace platform {
|
||||
interface IonicPlatformService {
|
||||
onHardwareBackButton(callback: Function): void;
|
||||
offHardwareBackButton(callback: Function): void;
|
||||
@@ -228,7 +228,7 @@ declare module ionic {
|
||||
ready(callback?: Function): angular.IPromise<any>;
|
||||
}
|
||||
}
|
||||
module popover {
|
||||
namespace popover {
|
||||
interface IonicPopoverService {
|
||||
fromTemplate(templateString: string, options: IonicPopoverOptions): IonicPopoverController;
|
||||
fromTemplateUrl(templateUrl: string, options: IonicPopoverOptions): angular.IPromise<IonicPopoverController>;
|
||||
@@ -247,7 +247,7 @@ declare module ionic {
|
||||
hardwareBackButtonClose?: boolean;
|
||||
}
|
||||
}
|
||||
module popup {
|
||||
namespace popup {
|
||||
interface IonicPopupService {
|
||||
show(options: IonicPopupFullOptions): IonicPopupPromise;
|
||||
alert(options: IonicPopupAlertOptions): IonicPopupPromise;
|
||||
@@ -296,7 +296,7 @@ declare module ionic {
|
||||
okType?: string;
|
||||
}
|
||||
}
|
||||
module scroll {
|
||||
namespace scroll {
|
||||
interface IonicScrollDelegate {
|
||||
resize(): void;
|
||||
scrollTop(shouldAnimate?: boolean): void;
|
||||
@@ -313,7 +313,7 @@ declare module ionic {
|
||||
$getByHandle(handle: string): IonicScrollDelegate;
|
||||
}
|
||||
}
|
||||
module sideMenu {
|
||||
namespace sideMenu {
|
||||
interface IonicSideMenuDelegate {
|
||||
toggleLeft(isOpen?: boolean): void;
|
||||
toggleRight(isOpen?: boolean): void;
|
||||
@@ -326,7 +326,7 @@ declare module ionic {
|
||||
$getByHandle(handle: string): IonicSideMenuDelegate;
|
||||
}
|
||||
}
|
||||
module slideBox {
|
||||
namespace slideBox {
|
||||
interface IonicSlideBoxDelegate {
|
||||
update(): void;
|
||||
slide(to: number, speed?: number): void;
|
||||
@@ -340,7 +340,7 @@ declare module ionic {
|
||||
$getByHandle(handle: string): IonicSlideBoxDelegate;
|
||||
}
|
||||
}
|
||||
module tabs {
|
||||
namespace tabs {
|
||||
interface IonicTabsDelegate {
|
||||
select(index: number): void;
|
||||
selectedIndex(): number;
|
||||
@@ -348,7 +348,7 @@ declare module ionic {
|
||||
showBar(show?: boolean): boolean;
|
||||
}
|
||||
}
|
||||
module utility {
|
||||
namespace utility {
|
||||
interface IonicConfigProvider {
|
||||
views: {
|
||||
transition(transition?: string): string;
|
||||
|
||||
Reference in New Issue
Block a user