WebKit2.ColorChooserRequest.prototype.cancel

function cancel(): void {
    // Gjs wrapper for webkit_color_chooser_request_cancel()
}
  

Cancels request and the input element changes to use the initial color it has before the request started. The signal WebKit2.ColorChooserRequest::finished is emitted to notify that the request has finished.

Since 2.8