Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IModel<VM>

The interface used to enforce the model field in a component. It supports typed access to the view model.

Type parameters

  • VM: object

    A view model type. That's a regular class (not an interface), optionally with decorators on properties.

Hierarchy

  • IModel

Index

Properties

Properties

model

model: ModelBinder<VM>

The actual model instance. This requires the ViewModel decorator on the component, which provides an actual instance.

typeparam

A view model type. That's a regular class (not an interface), optionally with decorators on properties.

Generated using TypeDoc