@reservi/preact 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -103,6 +103,13 @@ declare interface DragOptions {
103
103
  snap?: string | undefined;
104
104
  /** Si se indica, redimensiona por ese borde; si no, mueve el evento. */
105
105
  edge?: ResizeEdge | undefined;
106
+ /**
107
+ * Se llama en cada movimiento con el rango destino (minutos absolutos del
108
+ * dia), y con `null` al soltar. Sirve para pintar el fantasma que indica
109
+ * donde va a caer el evento; sin esto la tarjeta se queda quieta y salta a su
110
+ * nueva posicion solo al soltar.
111
+ */
112
+ onPreview?: ((range: RangePreview | null) => void) | undefined;
106
113
  }
107
114
 
108
115
  /** Argumento del slot de contenido de evento. */