Skip to main content
Version: 2.x

ViewController interface

@microsoft/fast-element > ViewController

ViewController interface

Controls the lifecycle of a view and provides relevant context.

Signature:

export interface ViewController<TSource = any, TParent = any> extends ExpressionController<TSource, TParent> 

Extends: ExpressionController<TSource, TParent>

Properties

Property

Modifiers

Type

Description

targets

readonly

ViewBehaviorTargets

The parts of the view that are targeted by view behaviors.