0.2.10 • Published 6 months ago

@types/marker-animate-unobtrusive v0.2.10

Weekly downloads
46
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/marker-animate-unobtrusive

Summary

This package contains type definitions for marker-animate-unobtrusive (https://github.com/terikon/marker-animate-unobtrusive).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marker-animate-unobtrusive.

index.d.ts

// Type definitions for marker-animate-unobtrusive 0.2.8
// Project: https://github.com/terikon/marker-animate-unobtrusive
// Definitions by: Roman Viskin <https://github.com/viskin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.0

/// <reference types="google.maps" />

declare namespace jQuery.easing {
    type IEasingType =
        'swing' |
        'easeInQuad' |
        'easeOutQuad' |
        'easeInOutQuad' |
        'easeInCubic' |
        'easeOutCubic' |
        'easeInOutCubic' |
        'easeInQuart' |
        'easeOutQuart' |
        'easeInOutQuart' |
        'easeInQuint' |
        'easeOutQuint' |
        'easeInOutQuint' |
        'easeInSine' |
        'easeOutSine' |
        'easeInOutSine' |
        'easeInExpo' |
        'easeOutExpo' |
        'easeInOutExpo' |
        'easeInCirc' |
        'easeOutCirc' |
        'easeInOutCirc' |
        'easeInElastic' |
        'easeOutElastic' |
        'easeInOutElastic' |
        'easeInBack' |
        'easeOutBack' |
        'easeInOutBack' |
        'easeInBounce' |
        'easeOutBounce' |
        'easeInOutBounce';
}

interface SlidingMarkerOptions extends google.maps.MarkerOptions {
    easing?: jQuery.easing.IEasingType | undefined,
    duration?: number | undefined,
    animateFunctionAdapter?: ((marker: google.maps.Marker, destPoint: google.maps.LatLng, easing: 'linear' | jQuery.easing.IEasingType, duration: number) => void) | undefined
}

declare class SlidingMarker extends google.maps.Marker {
    static initializeGlobally(): void;
    constructor(opts?: SlidingMarkerOptions);
    setDuration(duration: number): void;
    getDuration(): number;
    setEasing(easing: jQuery.easing.IEasingType): void;
    getEasing(): jQuery.easing.IEasingType;
    getAnimationPosition(): google.maps.LatLng;
    setPositionNotAnimated(position: google.maps.LatLng | google.maps.LatLngLiteral): void;
}

declare class MarkerWithGhost extends SlidingMarker {
    setGhostPosition(ghostPosition: google.maps.LatLng | google.maps.LatLngLiteral): void;
    getGhostPosition(): google.maps.LatLng;
    getGhostAnimationPosition(): google.maps.LatLng;
}

declare module "SlidingMarker" {
    export = SlidingMarker;
}

declare module "MarkerWithGhost" {
    export = MarkerWithGhost;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 16:24:01 GMT
  • Dependencies: @types/google.maps
  • Global values: MarkerWithGhost, SlidingMarker

Credits

These definitions were written by Roman Viskin.

0.2.9

7 months ago

0.2.8

8 months ago

0.2.10

6 months ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

4 years ago

0.2.4

7 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago