UNPKG

vue3-openlayers

Version:
22 lines (20 loc) 753 B
import { FeatureAnimationOptions, FeatureAnimation } from '../components/animations/AnimationTypes'; import { ComputedRef } from 'vue'; type GenericFeatureAnimationOptions = Partial<Record<keyof FeatureAnimationOptions, unknown>>; export default function useAnimation(AnimationType: new (props: Record<string, unknown>) => FeatureAnimation, props: GenericFeatureAnimationOptions): { map: unknown; vectorLayer: unknown; animation: ComputedRef<FeatureAnimation>; properties: { repeat?: unknown; speed?: unknown; duration?: unknown; side?: unknown; revers?: unknown; hiddenStyle?: unknown; horizontal?: unknown; fade?: unknown; easing?: unknown; }; }; export {};