nl_tokens: Trigger event
pl_tokens: function triggerEvent ( element ) { var type = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : '' ; var bubbles = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : <mask> ; var detail = arguments . length > 3 && arguments [ 3 ] !== undefined ? arguments [ 3 ] : { } ; // Bail if no element if ( ! is$1 . element ( element ) || is$1 . empty ( type ) ) { return ; } // Create and dispatch the event var event = new CustomEvent ( type , { bubbles : bubbles , detail : Object . assign ( { } , detail , { plyr : this } ) } ) ; // Dispatch the event element . dispatchEvent ( event ) ; }