code: function(name, params) {
  		var event = new CustomEvent(name, {detail: params});
  		this.dispatchEvent(event);
  		return event;
  	}
docs: Fire an event
  @param {string} name - Event name to fire
  @param {object=} params - Details to attach
  @return {object} - Returns created event