Key
A reference to a value that a plugin can watch: the thing that holds the value, its name, and its type. The keys that the app provides are under ctx.keys, and the on(id) function of a facet handle returns the key of the value of that facet on one row. A key is passed to ctx.observe.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Description |
|---|---|
T |
the type of the value |
Properties
Section titled “Properties”readonly key: string;The name of the value within that thing.
object
Section titled “object”readonly object: string;The thing that holds the value.
value?
Section titled “value?”readonly value?: T;Carries the type of the value, for type checking. It never holds a value.
