mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
step() option in animate function is optional. examples in cytoscape js docu (http://js.cytoscape.org/#cy.animate) use animate without step parameter. (#22916)
This commit is contained in:
committed by
Wesley Wigham
parent
a025cb184b
commit
be285f96bf
Vendored
+2
-1
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Fabian Schmidt and Fred Eisele <https://github.com/phreed>
|
||||
// Shenghan Gao <https://github.com/wy193777>
|
||||
// Yuri Pereira Constante <https://github.com/ypconstante>
|
||||
// Jan-Niclas Struewer <https://github.com/janniclas>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
//
|
||||
// Translation from Objects in help to Typescript interface.
|
||||
@@ -900,7 +901,7 @@ declare namespace cytoscape {
|
||||
/** complete - A function to call when the animation is done. */
|
||||
complete?(): void;
|
||||
/** step - A function to call each time the animation steps. */
|
||||
step(): void;
|
||||
step?(): void;
|
||||
}
|
||||
interface AnimationOptions extends AnimateOptionsCommon {
|
||||
/** queue - A transition-timing-function easing style string that shapes the animation progress curve. */
|
||||
|
||||
Reference in New Issue
Block a user