Features/Interactions

Interaction events

Start interactions on clicks, hover, keys, scroll, view, forms, page changes, states and member login events.

Every interaction starts on an event. Divhunt offers element events (click, hover, focus, input), viewport events (view, intersect, while scrolling), page events (preload, ready, load, unload), form events and membership events. Many events have their own settings, for example hover delays, intersect thresholds or the keys to listen for. This lets one system cover simple hover effects as well as full UI logic.

How it works

  • Element/page events: On Preload, On Ready, On Load, On Scroll, On Resize, On Blur, On Focus, On Click, On Double Click, On Hover, On Pointer, On Intersect, On State, On Outside Press, On Key, On Input, On Change, On Submit, On View, While Scrolling.
  • Page events: On Page Unload, On Page Preload, On Page Ready, On Page Load. Components: On Components Render. Forms: On Form Submit, On Form Success, On Form Fail.
  • Membership events: login, register, logout, Google sign-in, forgot password, reset password, resend verification, each with success and fail.

When to use it

  • Close a dropdown on outside press or Escape
  • Show a toast after a member logs in
  • Trigger an animation when a section is 50% visible

Limitations

  • Events that are not motion run the same with reduced motion; motion events degrade (see each event's 'reduced' rule).

Availability

  • Works in Designer and MCP.
  • Included in every plan.

How to use it.

  1. In an interaction, open the Event select.
  2. Choose the event and fill in its settings.

Questions.

Can I react to a successful form submit?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.