Skip to content

Commit

Permalink
Add missing types of TransitionEvent (#4019)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoonia committed May 20, 2023
1 parent c252e21 commit d84ddf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1321,8 +1321,14 @@ export namespace JSXInternal {
onAnimationIterationCapture?: AnimationEventHandler<Target> | undefined;

// Transition Events
onTransitionCancel?: TransitionEventHandler<Target>;
onTransitionCancelCapture?: TransitionEventHandler<Target>;
onTransitionEnd?: TransitionEventHandler<Target>;
onTransitionEndCapture?: TransitionEventHandler<Target>;
onTransitionRun?: TransitionEventHandler<Target>;
onTransitionRunCapture?: TransitionEventHandler<Target>;
onTransitionStart?: TransitionEventHandler<Target>;
onTransitionStartCapture?: TransitionEventHandler<Target>;
}

// All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
Expand Down

0 comments on commit d84ddf3

Please sign in to comment.