js: add onAnimationEnd for image
This commit is contained in:
4
doric-js/index.d.ts
vendored
4
doric-js/index.d.ts
vendored
@@ -690,6 +690,10 @@ declare module 'doric/lib/src/widget/image' {
|
||||
right: number;
|
||||
bottom: number;
|
||||
};
|
||||
/**
|
||||
* Called if loaded image is animated and played end.
|
||||
*/
|
||||
onAnimationEnd?: () => void;
|
||||
isAnimating(context: BridgeContext): Promise<boolean>;
|
||||
startAnimating(context: BridgeContext): Promise<any>;
|
||||
stopAnimating(context: BridgeContext): Promise<any>;
|
||||
|
||||
Reference in New Issue
Block a user