HostView
The HostView class is used to host custom controls written in another library. Example how to create a custom control library is demonstrated in the CustomUIView example (present in Application Center installation directory).
Constructor:
constructor(library: string, implementationClass: string, parent: View );
Creates an instance of HostView control.parent
: the View containing the control itself.
Methods:
call(method: string, ...params: any[]): any
Calls a method on your custom control.callAsync(method: string, ...params: any[]): any
Asynchronously calls a method on your custom control.event(name: string, handler: () => any)
Registers an event handler for a named event.