Home > @magiclane/maps-sdk > GemAnimation > (constructor)
GemAnimation.(constructor)
Constructs a new instance of the GemAnimation class
Signature:
constructor(input: {
type?: AnimationType;
duration?: number;
onCompleted?: () => void;
});Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ type, duration, onCompleted, } |
(not declared) | |
|
input |
{ type?: AnimationType; duration?: number; onCompleted?: () => void; } |
input properties:
- Optional type?: AnimationType
- Optional duration?: number
- Optional onCompleted?: () => void