@reservi/calendar 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
@@ -298,6 +298,23 @@ export declare interface CalendarOptions {
298
298
  scrollTime?: string;
299
299
  /** Permite arrastrar/redimensionar eventos (def. false). */
300
300
  editable?: boolean;
301
+ /**
302
+ * Permite arrastrar eventos para moverlos. **Desactivado por defecto.**
303
+ *
304
+ * editable -> solo redimensiona
305
+ * editable + eventDraggable: true -> arrastra y redimensiona
306
+ * editable: false -> nada
307
+ *
308
+ * Es opt-in a proposito: arrastrar mueve citas reales, y activar `editable`
309
+ * para poder estirar por los bordes no deberia habilitar tambien ese gesto
310
+ * sin haberlo pedido. `editable` sigue siendo el maestro: sin el no hay
311
+ * arrastre aunque se pida.
312
+ *
313
+ * FullCalendar llama a esto `eventStartEditable` y por defecto sigue a
314
+ * `editable`. Aqui se prefiere un nombre legible y un default seguro, a costa
315
+ * de perder la paridad en este punto.
316
+ */
317
+ eventDraggable?: boolean;
301
318
  /** Permite seleccionar rangos por arrastre (def. false). */
302
319
  selectable?: boolean;
303
320
  /** Dibuja un "fantasma" del rango mientras se arrastra la selección (def. false). */