Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WillMutateEvent<Data, Variables>

Fired when the element is about to mutate. Useful for setting variables or cancelling the mutation by calling preventDefault Prevent default to prevent mutation. Detail is { element: this }

Type parameters

  • Data

    Element's Data type

  • Variables

    Element's Variables type

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

detail

detail: MutationEventDetail<Data, Variables>

type

Static type

type: "will-mutate" = "will-mutate"

Methods