mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 10:45:21 +08:00
Add missing frameRate SpriteConfig typing and Sprite documentation entry
This commit is contained in:
parent
a15b27bcf1
commit
ede310a19c
1
konva.d.ts
vendored
1
konva.d.ts
vendored
@ -956,6 +956,7 @@ declare namespace Konva {
|
||||
animations: any;
|
||||
frameIndex?: number;
|
||||
image: HTMLImageElement;
|
||||
frameRate?: number;
|
||||
}
|
||||
|
||||
class Sprite extends Shape {
|
||||
|
@ -10,6 +10,7 @@
|
||||
* @param {Object} config.animations animation map
|
||||
* @param {Integer} [config.frameIndex] animation frame index
|
||||
* @param {Image} config.image image object
|
||||
* @param {Integer} [config.frameRate] animation frame rate
|
||||
* @@shapeParams
|
||||
* @@nodeParams
|
||||
* @example
|
||||
|
Loading…
Reference in New Issue
Block a user