code: function dispatchCustomEvent(node, type) {
  	const event = document.createEvent('CustomEvent');
  
  	event.initCustomEvent(type, true, true, undefined);
  
  	node.dispatchEvent(event);
  }
docs: /* Dispatch Events
  /* ======================================================================