-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76dc928
commit 1782bdf
Showing
7 changed files
with
68 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
types/preference/AbstractCheked.d.ts → types/preference/AbstractChecked.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
import { Properties } from "tabris"; | ||
import { Checked } from "./AbstractCheked"; | ||
import { Constructor, Properties, Switch, WidgetTapEvent } from "tabris"; | ||
import { Checked } from "./AbstractChecked"; | ||
export declare class SwitchPreferenceComponent extends Checked { | ||
onChange: any; | ||
constructor(props: Properties<SwitchPreferenceComponent>); | ||
_getButton(props: Properties<SwitchPreferenceComponent>): import("tabris").widgets.Switch; | ||
_getButton(props: Properties<SwitchPreferenceComponent>): Switch; | ||
} | ||
export declare const SwitchPreference: import("tabris").Constructor<SwitchPreferenceComponent>; | ||
export declare const SwitchPreference: Constructor<SwitchPreferenceComponent>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import * as tabris from "tabris"; | ||
|
||
export declare const isVersion2: boolean; | ||
export declare const contentView: tabris.ContentView; | ||
export declare const stretch: { | ||
left: number; | ||
right: number; | ||
top: number; | ||
bottom: number; | ||
}; | ||
export declare const stretchY: { | ||
top: number; | ||
bottom: number; | ||
}; | ||
export declare const stretchX: { | ||
right: number; | ||
left: number; | ||
}; | ||
export declare const layoutData: { | ||
stretch: typeof stretch, | ||
stretchX: typeof stretchX; | ||
stretchY: typeof stretchY; | ||
centerX: number | boolean; | ||
centerY: number | boolean; | ||
}; | ||
|
||
export declare const Action: typeof tabris.Action | ((props?: any) => typeof tabris.Action); | ||
|
||
declare class RowMake extends tabris.Composite { | ||
get alignment(): string | ||
set alignment(value: string); | ||
//@ts-ignore | ||
layoutData: 'center' | keyof typeof layoutData; | ||
} | ||
|
||
export declare const Row: typeof RowMake | typeof tabris.Row; | ||
|
||
export declare const Listeners: { | ||
new (target: tabris.Widget, event: string): { | ||
addListener(handler: (event: any)=> typeof Listeners): void; | ||
trigger(eventObject: any): typeof Listeners; | ||
}; | ||
} | typeof tabris.Listeners; | ||
|
||
export declare const LayoutData: typeof tabris.LayoutData | { | ||
new (): {}; | ||
}; | ||
|
||
export const statusBar = tabris.statusBar //| typeof tabris.ui.statusBar; |