@microsoft/fast-element > RefBehavior > (constructor)
RefBehavior.(constructor)
Creates an instance of RefBehavior.
Signature:constructor(target: HTMLElement, propertyName: string);
Parameters
Parameter | Type | Description |
---|---|---|
target | HTMLElement | The element to reference. |
propertyName | string | The name of the property to assign the reference to. |