WebKit2.WebView.prototype.can_execute_editing_command
function can_execute_editing_command(command: String, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for webkit_web_view_can_execute_editing_command() }
Asynchronously execute the given editing command.
When the operation is finished, callback will be called. You can then call WebKit2.WebView.prototype.can_execute_editing_command_finish to get the result of the operation.
- command
the command to check
- cancellable
a Gio.Cancellable or null to ignore
- callback
a Gio.AsyncReadyCallback to call when the request is satisfied