@razi91/types-ol-ext
Version:
Type definitions for ol-ext
21 lines (18 loc) • 618 B
TypeScript
import { default as featureAnimation, FeatureAnimationEvent } from './FeatureAnimation';
export interface Options{
speed?: number;
}
/** Slice animation: feature enter from left
* @constructor
* @extends {featureAnimation}
* @param {featureAnimationSlideOptions} options
* @param {Number} options.speed speed of the animation, if 0 the duration parameter will be used instead, default 0
*/
declare class Slide extends featureAnimation {
constructor(options: Options)
/** Animate
* @param {featureAnimationEvent} e
*/
animate(e: FeatureAnimationEvent): boolean;
}
export default Slide;