mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #1375 from rjamesnw/master
Added new type definition library.
This commit is contained in:
@@ -27,6 +27,7 @@ Other means to get the definitions
|
||||
List of Definitions
|
||||
-------------------
|
||||
* [Ace Cloud9 Editor](http://ace.ajax.org/) (by [Diullei Gomes](https://github.com/Diullei))
|
||||
* [Add To Home Screen] (http://cubiq.org/add-to-home-screen) (by [James Wilkins] (http://www.codeplex.com/site/users/view/jamesnw))
|
||||
* [AmCharts](http://www.amcharts.com/) (by [Covobonomo](https://github.com/covobonomo/))
|
||||
* [AngularJS](http://angularjs.org) (by [Diego Vilar](https://github.com/diegovilar)) ([wiki](https://github.com/borisyankov/DefinitelyTyped/wiki/AngularJS-Definitions-Usage-Notes))
|
||||
* [AppFramework](http://app-framework-software.intel.com/) (by [Kyo Ago](https://github.com/kyo-ago))
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
/// <reference path="add2home.d.ts" />
|
||||
|
||||
addToHome.show(false);
|
||||
addToHome.close();
|
||||
addToHome.reset();
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
// Type definitions for add2home v2.0.5
|
||||
// Project: http://cubiq.org/add-to-home-screen
|
||||
// Definitions by: James Wilkins <http://www.codeplex.com/site/users/view/jamesnw>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare var addToHome: {
|
||||
/** Shows the popup.
|
||||
* @param {boolean} overrideChecks Override all the compatibility checks and always show the popup.
|
||||
*/
|
||||
show: (overrideChecks: boolean) => void;
|
||||
/** Closes the popup. */
|
||||
close: () => void;
|
||||
/** Reset the local and session storages so the popup will show again (for automatic mode - has no affect if manually opening the popup). */
|
||||
reset: () => void;
|
||||
};
|
||||
Reference in New Issue
Block a user