Per-attribute definition options.

This is a map with attribute names as keys (either camelCase or dash-style), and their state update instructions as values.

The state update instruction can be one of:

  • false to not update the component state,
  • true to update the component state with changed attribute key,
  • a state value key to update, or
  • an attribute update receiver function with custom state update logic.

Type Parameters

  • T extends object

    A type of component.

Hierarchy

  • Map

Indexable

[name: string]: boolean | StatePath | AttributeUpdateReceiver<T>

Generated using TypeDoc