Skip to main content

@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.