From ad2d0b0f73e8066d1f86427dcbc2b44c51614d6c Mon Sep 17 00:00:00 2001 From: Josh Sommer Date: Sat, 19 Jan 2019 11:39:00 -0500 Subject: [PATCH] removing swiss-army-knife.d.ts from git --- src/nativescript-swiss-army-knife.d.ts | 39 -------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/nativescript-swiss-army-knife.d.ts diff --git a/src/nativescript-swiss-army-knife.d.ts b/src/nativescript-swiss-army-knife.d.ts deleted file mode 100644 index ba25d3d..0000000 --- a/src/nativescript-swiss-army-knife.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Color } from "tns-core-modules/color"; -import { ActionItem } from "tns-core-modules/ui/action-bar"; -import { View } from "tns-core-modules/ui/core/view"; -import { LayoutBase } from "tns-core-modules/ui/layouts/layout-base"; -import { ListView } from "tns-core-modules/ui/list-view"; -import { ScrollView } from "tns-core-modules/ui/scroll-view"; -export interface IScreenHeight { - portrait: number; - landscape: number; - androidStatusBar: number; - androidNavBar: number; -} -export declare class SwissArmyKnife { - readonly android: any; - readonly ios: any; - static getListViewVerticalOffset(view: ListView): number; - static disableScrollBounce(view: ScrollView | ListView): void; - static removeHorizontalScrollBars(view: ScrollView | ListView): void; - static removeVerticalScrollBars(view: ScrollView | ListView): void; - static pluckChildViewsFromLayout(parent: LayoutBase): Array; - static getScreenHeight(): IScreenHeight; - static actionBarSetTitle(title: string): void; - static actionBarAddButton(button: ActionItem): void; - static actionBarClearButtons(): void; - static setAndroidStatusBarTranslucentFlag(): void; - static resetAndroidStatusBarTranslucentFlag(): void; - static setAndroidNavBarTranslucentFlag(): void; - static resetAndroidNavBarTranslucentFlag(): void; - static setAndroidStatusBarColor(color: string | Color): void; - static setAndroidNavBarColor(color: string | Color): void; - static actionBarHideBackButton(): void; - static actionBarSetStatusBarStyle(style: number): void; - static dismissSoftKeyboard(): void; - private static _getStatusBarHeight; - private static _getBarColor; - private static _getNavBarHeight; - private static readonly _androidContext; - private static readonly _androidActivity; -}