clik-engine API
    Preparing search index...

    Interface PredictionConfig

    interface PredictionConfig {
        damping?: number;
        maxOffset?: number;
        strength?: number;
    }
    Index

    Properties

    damping?: number

    Damping to smooth prediction changes (0-1, default: 0.05)

    maxOffset?: number

    Maximum prediction offset in pixels

    strength?: number

    How far ahead to look based on velocity (multiplier, default: 0.3)