API Reference / @gtkx/codegen / loadApiReference
Variable: loadApiReference
constloadApiReference: (options) =>ApiReference
Defined in: codegen/dist/docs/api-reference.d.ts:83
Loads the GIR data for the given libraries and indexes every symbol and JSX element in it. The result is a read-only view: it generates no store and needs none, so a tool can explore the bindings a project would get without running codegen.
Parameters
options
Which libraries to index, where to find them, and the project's element config.
Returns
The indexed reference.