mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-08 16:40:30 +08:00
Add typings for element-resize-event.
This commit is contained in:
@@ -151,6 +151,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](easystarjs/easystarjs.d.ts) [EasyStar.js](http://easystarjs.com) by [Magnus Gustafsson](https://github.com/borundin)
|
||||
* [:link:](ejs-locals/ejs-locals.d.ts) [ejs-locals](https://github.com/randometc/ejs-locals) by [jt000](https://github.com/jt000)
|
||||
* [:link:](jquery.elang/jquery.elang.d.ts) [eLang](https://github.com/sumegizoltan/ELang) by [Zoltan Sumegi](https://github.com/sumegizoltan)
|
||||
* [:link:](element-resize-event/element-resize-event.d.ts) [ansicolors](https://github.com/KyleAMathews/element-resize-event) by [rogierschouten](https://github.com/rogierschouten)
|
||||
* [:link:](elm/elm.d.ts) [Elm](http://elm-lang.org) by [Dénes Harmath](https://github.com/thSoft)
|
||||
* [:link:](ember/ember.d.ts) [Ember.js](http://emberjs.com) by [Jed Mao](https://github.com/jedmao)
|
||||
* [:link:](emissary/emissary.d.ts) [emissary](https://github.com/atom/emissary) by [vvakame](https://github.com/vvakame)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/// <reference path="element-resize-event.d.ts" />
|
||||
|
||||
import ere = require("element-resize-event");
|
||||
|
||||
var domNode: Element = null;
|
||||
ere(domNode, (): void => {
|
||||
});
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
// Type definitions for element-resize-event 1.0.1
|
||||
// Project: https://github.com/KyleAMathews/element-resize-event
|
||||
// Definitions by: Rogier Schouten <https://github.com/rogierschouten>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "element-resize-event" {
|
||||
function elementResizeEvent(domNode: Element, callback: () => void): void;
|
||||
export = elementResizeEvent;
|
||||
}
|
||||
Reference in New Issue
Block a user