Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 424 Bytes

onmodelinit.md

File metadata and controls

11 lines (7 loc) · 424 Bytes

#onmodelinit-info The OnModelInit event fires before editing and adding new item in the component. The event allows you to:

  • bind the component to a class that has no parameterless constructor

  • bind the component to an interface

  • bind the component to an abstract class

To achieve the desired behavior you can provide an instance of the model that the component is bound to in the OnModelInit event handler. #end