x4js - v2.3.33
    Preparing search index...

    Function setEventClipboard

    • Set the clipboard in a "copy" or a "cut" event. The default of the event is prevented: the browser would copy its own selection instead.

      Parameters

      Returns void

      this.addDOMEvent( "copy", ev => {
      setEventClipboard( ev, { text: this.getSelectedText( ) } );
      } );