Create custom events with data attributes