-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from qiaolin-li/dev-v1.0.8
Dev v1.0.8
- Loading branch information
Showing
143 changed files
with
17,553 additions
and
835 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
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,26 @@ | ||
import { Event } from '../common/event'; | ||
import { IDisposable } from '../common/lifecycle'; | ||
/** A zoom index, e.g. 1, 2, 3 */ | ||
export declare function setZoomLevel(zoomLevel: number, isTrusted: boolean): void; | ||
export declare function getZoomLevel(): number; | ||
/** Returns the time (in ms) since the zoom level was changed */ | ||
export declare function getTimeSinceLastZoomLevelChanged(): number; | ||
export declare function onDidChangeZoomLevel(callback: (zoomLevel: number) => void): IDisposable; | ||
/** The zoom scale for an index, e.g. 1, 1.2, 1.4 */ | ||
export declare function getZoomFactor(): number; | ||
export declare function setZoomFactor(zoomFactor: number): void; | ||
export declare function getPixelRatio(): number; | ||
export declare function setFullscreen(fullscreen: boolean): void; | ||
export declare function isFullscreen(): boolean; | ||
export declare const onDidChangeFullscreen: Event<void>; | ||
export declare const isIE: boolean; | ||
export declare const isEdge: boolean; | ||
export declare const isEdgeOrIE: boolean; | ||
export declare const isOpera: boolean; | ||
export declare const isFirefox: boolean; | ||
export declare const isWebKit: boolean; | ||
export declare const isChrome: boolean; | ||
export declare const isSafari: boolean; | ||
export declare const isWebkitWebView: boolean; | ||
export declare const isIPad: boolean; | ||
export declare const isEdgeWebView: boolean; |
Oops, something went wrong.