WebKit2WebExtension.DOMDocument.create_event

### Method

# WebKit2WebExtension DOMDocumentcreate_event

#### Declaration [src]

    WebKitDOMEvent*
    webkit_dom_document_create_event (
      WebKitDOMDocument* self,
      const gchar* eventType,
      GError** error
    )

#### Description

No description available.

Deprecated since: | 2.22
Use JavaScriptCore API instead.

#### Parameters

`eventType` | `const gchar*`
| A #gchar.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `WebKitDOMEvent`
| A `WebKitDOMEvent`.
| The caller of the method takes ownership of the data, and is responsible for freeing it.