mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Created 2.0 definitions file. Fixed a few removals from 1.0.
This commit is contained in:
19
winjs/legacy/winjs-1.0.d.ts
vendored
19
winjs/legacy/winjs-1.0.d.ts
vendored
@@ -1326,6 +1326,14 @@ declare module WinJS {
|
||||
|
||||
//#region Functions
|
||||
|
||||
/**
|
||||
* You can provide an implementation of this method yourself, or use WinJS.Utilities.startLog to create one that logs to the JavaScript console.
|
||||
* @param message The message to log.
|
||||
* @param tags The tag or tags to categorize the message (winjs, winjs controls, etc.).
|
||||
* @param type The type of message (error, warning, info, etc.).
|
||||
**/
|
||||
function log(message: string, tags: string, type: string): void;
|
||||
|
||||
/**
|
||||
* This method has been deprecated. Strict processing is always on; you don't have to call this method to turn it on.
|
||||
**/
|
||||
@@ -3181,6 +3189,12 @@ declare module WinJS.UI {
|
||||
**/
|
||||
getPanAxis(): string;
|
||||
|
||||
/**
|
||||
* Manages pointer input for the custom control.
|
||||
* @param pointerId The ID of the pointer.
|
||||
**/
|
||||
handlePointer(pointerId: string): void;
|
||||
|
||||
/**
|
||||
* Positions the specified item within the viewport of the child control when panning or zooming begins.
|
||||
* @param item The object to position within the viewport of the child control. item can be a number, a string, or an object with any number of properties.
|
||||
@@ -4910,6 +4924,11 @@ declare module WinJS.UI {
|
||||
**/
|
||||
enableButton: boolean;
|
||||
|
||||
/**
|
||||
* Determines whether any controls contained in a SemanticZoom should be processed separately. This property is always true, meaning that the SemanticZoom takes care of processing its own controls.
|
||||
**/
|
||||
isDeclarativeControlContainer: boolean;
|
||||
|
||||
/**
|
||||
* Gets or sets a value that indicates whether SemanticZoom is locked and zooming between views is disabled.
|
||||
**/
|
||||
|
||||
8554
winjs/legacy/winjs-2.0.d.ts
vendored
Normal file
8554
winjs/legacy/winjs-2.0.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user