Module Ev.Data_transferSource

DataTransfer objects.

Sourcemodule Effect : sig ... end

The drop effect enum

Sourcemodule Item : sig ... end

DataTransferItem objects.

Sourcemodule Item_list : sig ... end

DataTransferItemList objects.

Data transfers

Sourcetype t

The type for DataTransfer objects.

Sourceval drop_effect : t -> Effect.t

drop_effect d is the dropEffect property.

Sourceval set_drop_effect : t -> Effect.t -> unit

set_drop_effect d e sets the drop_effect property to e. Note. Only a subset of Effect.t can be used.

Sourceval effect_allowed : t -> Effect.t

effect_allowed d is the effectAllowed property.

Sourceval set_effect_allowed : t -> Effect.t -> unit

set_effect_allowed d e sets the effect_allowed property to e.

Sourceval items : t -> Item_list.t

items d is the items property.