@empathyco/x-components
Version:
Empathy X Components
27 lines (15 loc) • 725 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [createTrackWire](./x-components.createtrackwire.md)
## createTrackWire() function
Factory helper to create a wire for the track of a taggable element.
**Signature:**
```typescript
export declare function createTrackWire(property: keyof Tagging): Wire<Taggable>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| property | keyof Tagging | Key of the tagging object to track. |
**Returns:**
[Wire](./x-components.wire.md)<!-- --><Taggable>
A new wire for the given property of the taggable element.