whole_func_string: function trigger(element, type) {
  	  if (!element || !type) {
  	    return;
  	  } // Create and dispatch the event
  
  
  	  var event = new Event(type); // Dispatch the event
  
  	  element.dispatchEvent(event);
  	}
func_code_string: function trigger(element, type) {
  	  if (!element || !type) {
  	    return;
  	  } // Create and dispatch the event
  
  
  	  var event = new Event(type); // Dispatch the event
  
  	  element.dispatchEvent(event);
  	}
func_documentation_string: Trigger event