Skip to content

API Reference / @gtkx/codegen / ApiSymbol

Type Alias: ApiSymbol

ApiSymbol = object

Defined in: codegen/dist/docs/api-reference.d.ts:24

An indexed symbol, without its reference page.

Properties

kind

kind: ApiSymbolKind

Defined in: codegen/dist/docs/api-reference.d.ts:30

Kind the reference groups and filters the symbol by, "element" for a JSX tag.


name

name: string

Defined in: codegen/dist/docs/api-reference.d.ts:28

Name within the namespace, which for an element is its GLib type name.


namespace

namespace: string

Defined in: codegen/dist/docs/api-reference.d.ts:26

GIR namespace declaring the symbol, such as "Gtk".


summary

summary: string

Defined in: codegen/dist/docs/api-reference.d.ts:32

First sentence of the symbol's GIR documentation, elided past 220 characters and empty when it has none.

Released under the MPL-2.0 License.