@quicktvui/quicktvui3 1.2.0-beta.36 → 1.2.0-beta.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from './types';
|
|
2
2
|
import { QTIView } from '../view/QTIView';
|
|
3
3
|
export interface QTIAnimation extends QTIView {
|
|
4
|
+
animator(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, values: number[], duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
5
|
+
animatorSet(animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
|
|
6
|
+
reset(): any;
|
|
7
|
+
start(animatorId: QTAnimatorId): any;
|
|
8
|
+
startDelay(animatorId: QTAnimatorId, delay: number): any;
|
|
9
|
+
pause(animatorId: QTAnimatorId): any;
|
|
10
|
+
resume(animatorId: QTAnimatorId): any;
|
|
11
|
+
cancel(animatorId: QTAnimatorId): any;
|
|
12
|
+
reverse(animatorId: QTAnimatorId): any;
|
|
4
13
|
setPivotX(pivotX: number): any;
|
|
5
14
|
setPivotY(pivotY: number): any;
|
|
6
15
|
resetPivot(): any;
|
|
7
16
|
resetAnimators(): any;
|
|
8
|
-
animatorSet(animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
|
|
9
17
|
startAnimator(animatorId: QTAnimatorId): any;
|
|
10
18
|
startAnimatorDelay(animatorId: QTAnimatorId, delay: number): any;
|
|
11
19
|
pauseAnimator(animatorId: QTAnimatorId): any;
|
|
@@ -19,7 +27,6 @@ export interface QTIAnimation extends QTIView {
|
|
|
19
27
|
playAfterDelay(animatorSetId: QTAnimatorId, delay: number): any;
|
|
20
28
|
playSequentially(animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
|
|
21
29
|
playTogether(animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
|
|
22
|
-
animator(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, values: number[], duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
23
30
|
playSequentially1(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
|
|
24
31
|
playSequentially2(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
|
|
25
32
|
playSequentially3(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
|
|
@@ -6,14 +6,15 @@ export interface QtAnimationAPI extends QtBaseViewAPI {
|
|
|
6
6
|
setPivotX(instance: string | Ref<QTIAnimation | undefined>, pivotX: number): any;
|
|
7
7
|
setPivotY(instance: string | Ref<QTIAnimation | undefined>, pivotY: number): any;
|
|
8
8
|
resetPivot(instance: string | Ref<QTIAnimation | undefined>): any;
|
|
9
|
-
|
|
9
|
+
animator(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, values: number[], duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
10
10
|
animatorSet(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
reset(instance: string | Ref<QTIAnimation | undefined>): any;
|
|
12
|
+
start(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
13
|
+
startDelay(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId, delay: number): any;
|
|
14
|
+
pause(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
15
|
+
resume(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
16
|
+
cancel(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
17
|
+
reverse(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
17
18
|
play(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
|
|
18
19
|
playWith(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
|
|
19
20
|
playBefore(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
|
|
@@ -21,6 +22,5 @@ export interface QtAnimationAPI extends QtBaseViewAPI {
|
|
|
21
22
|
playAfterDelay(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, delay: number): any;
|
|
22
23
|
playSequentially(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
|
|
23
24
|
playTogether(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
|
|
24
|
-
animator(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, values: number[], duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
25
25
|
}
|
|
26
26
|
export declare function createQtAnimationAPI(viewAPI: QtBaseViewAPI): QtAnimationAPI;
|