ref() function
A directive that observes the updates a property with a reference to the element.
Signature:export declare function ref<T = any>(propertyName: keyof T & string): CaptureType<T>;
Parameters
Parameter | Type | Description |
---|---|---|
propertyName | keyof T & string | The name of the property to assign the reference to. |
CaptureType<T>