@microsoft/fast-element > RefDirective

RefDirective class

The runtime behavior for template references.

Signature:

export declare class RefDirective extends StatelessAttachedAttributeDirective<string> 

Extends: StatelessAttachedAttributeDirective<string>

Properties

Property

Modifiers

Type

Description

targetNodeId

string

The structural id of the DOM node to which the created behavior will apply.

Methods

Method

Modifiers

Description

bind(controller)

Bind this behavior.