docs
Loading...
Searching...
No Matches
CAPI.h

Overview

C API umbrella header.

Include this single header to access the core Ultralight C API.

#include <Ultralight/CAPI.h>

The native DOM family stays opt-in and is not pulled in here. Include what you use: <Ultralight/CAPI/CAPI_DOMDocument.h> and its CAPI_DOM* siblings for documents, nodes, elements, events, ranges, and selection; <Ultralight/CAPI/CAPI_DOMTriggers.h> for navigation-surviving page listeners; <Ultralight/CAPI/CAPI_DOMData.h> for declarative data binding.

API Note

You should only destroy objects that you explicitly create. Do not destroy any objects returned from the API or callbacks unless otherwise noted.

Go to the source code of this file.