X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-externs.js;h=9cf9568015b9da36b2752d2c535b16c6eb06a014;hb=287c4d68da47248a301bc9087d3b3c7f4ea36a44;hp=b4b8e5dc83ca2fbd3eadb59016a45a8931acde94;hpb=e1242d5b540803a1848481ce75932a85693de74c;p=dygraphs.git diff --git a/dygraph-externs.js b/dygraph-externs.js index b4b8e5d..9cf9568 100644 --- a/dygraph-externs.js +++ b/dygraph-externs.js @@ -1,3 +1,9 @@ +/** + * @license + * Copyright 2006 Dan Vanderkam (danvdk@gmail.com) + * MIT-licensed (http://opensource.org/licenses/MIT) + */ + // TODO(danvk): move the Dygraph definitions out of here once I closure-ify dygraphs.js /** * @param {!HTMLDivElement|string} div @@ -19,6 +25,15 @@ Dygraph.VERSION; /** @type {function(): string} */ Dygraph.toString; +/** @type {function(Event, Dygraph, DygraphInteractionContext)} */ +Dygraph.startPan; + +/** @type {function(Event, Dygraph, DygraphInteractionContext)} */ +Dygraph.movePan; + +/** @type {function(Event, Dygraph, DygraphInteractionContext)} */ +Dygraph.endPan; + /** @type {function(?string): boolean} */ Dygraph.prototype.isZoomed;