Rocky_Mountain_Vending/.pnpm-store/v10/files/1e/19dbea469f4d5f9b117cffafaecfb5bd13f24f4af87a367a6e9410ac24d223dca8b82be40bea42af19321820bf6d14036265daa1ef573043d76bce0b9b0d9b
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

30 lines
No EOL
682 B
Text

"use strict";
exports.__esModule = true;
exports.default = triggerEvent;
/**
* Triggers an event on a given element.
*
* @param node the element
* @param eventName the event name to trigger
* @param bubbles whether the event should bubble up
* @param cancelable whether the event should be cancelable
*/
function triggerEvent(node, eventName, bubbles, cancelable) {
if (bubbles === void 0) {
bubbles = false;
}
if (cancelable === void 0) {
cancelable = true;
}
if (node) {
var event = document.createEvent('HTMLEvents');
event.initEvent(eventName, bubbles, cancelable);
node.dispatchEvent(event);
}
}
module.exports = exports["default"];