Skip to content

API Reference / @gtkx/config / @gtkx/config / ElementsOptions

Type Alias: ElementsOptions ​

ElementsOptions = object

Defined in: packages/config/src/config.ts:194

The elements options: custom element behaviors and per-type overrides for generated elements.

Properties ​

behaviors? ​

optional behaviors?: string

Defined in: packages/config/src/config.ts:200

Path, relative to the project root, of the module exporting the element behavior map.

Default Value ​

None: only the behaviors built into @gtkx/react apply


config? ​

optional config?: Record<string, ElementConfigOptions>

Defined in: packages/config/src/config.ts:206

Element configuration overrides keyed by GLib type name, such as GtkWidget.

Default Value ​

{}