Module Types.SwipeEvent

type t = t_swipe_event
val current_target : t -> Dom.eventTarget

The **`type`** read-only property of the Event interface returns a string containing the event's type.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)

val type_ : t -> string

The read-only **`detail`** property of the CustomEvent interface returns any data passed when initializing the event.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)

The **`type`** read-only property of the Event interface returns a string containing the event's type.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)

val detail : t -> t_swipe_event_detail

The read-only **`detail`** property of the CustomEvent interface returns any data passed when initializing the event.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)

val init_custom_event : t -> string -> ?bubbles:bool -> ?cancelable:bool -> ?detail:t_swipe_event_detail -> unit -> unit

The **`bubbles`** read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)

val bubbles : t -> bool

The **`cancelBubble`** property of the Event interface is deprecated.

The **`bubbles`** read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)

val cancel_bubble : t -> bool

The **`cancelable`** read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)

The **`cancelBubble`** property of the Event interface is deprecated.

val cancelable : t -> bool

The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)

The **`cancelable`** read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)

val composed : t -> bool

The **`defaultPrevented`** read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)

The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)

val default_prevented : t -> bool

The **`eventPhase`** read-only property of the being evaluated.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)

The **`defaultPrevented`** read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)

val event_phase : t -> float

The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via The only exception is the `click` event, which initializes the `isTrusted` property to `false` in user agents.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)

The **`eventPhase`** read-only property of the being evaluated.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)

val is_trusted : t -> bool

The Event property **`returnValue`** indicates whether the default action for this event has been prevented or not.

The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via The only exception is the `click` event, which initializes the `isTrusted` property to `false` in user agents.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)

val return_value : t -> bool

The deprecated **`Event.srcElement`** is an alias for the Event.target property.

The Event property **`returnValue`** indicates whether the default action for this event has been prevented or not.

val src_element : t -> Dom.eventTarget Js.Nullable.t

The read-only **`target`** property of the dispatched.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)

The deprecated **`Event.srcElement`** is an alias for the Event.target property.

val target : t -> Dom.eventTarget Js.Nullable.t

The **`timeStamp`** read-only property of the Event interface returns the time (in milliseconds) at which the event was created.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)

The read-only **`target`** property of the dispatched.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)

val time_stamp : t -> float

The **`timeStamp`** read-only property of the Event interface returns the time (in milliseconds) at which the event was created.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)

val composed_path : t -> unit -> Dom.eventTarget array
val init_event : t -> string -> ?bubbles:bool -> ?cancelable:bool -> unit -> unit
val prevent_default : t -> unit -> unit
val stop_immediate_propagation : t -> unit -> unit
val stop_propagation : t -> unit -> unit
val none : t -> float
val capturing_phase : t -> float
val at_target : t -> float
val bubbling_phase : t -> float