Skip to main content
Version: 1.x

@microsoft/fast-element > HTMLView > (constructor)

HTMLView.(constructor)

Constructs an instance of HTMLView.

Signature:
constructor(fragment: DocumentFragment, behaviors: Behavior[]);

Parameters

ParameterTypeDescription
fragmentDocumentFragmentThe html fragment that contains the nodes for this view.
behaviorsBehavior[]The behaviors to be applied to this view.