LayerViewModel.bind Method

Bind an event handler.
 

Parameters

eventName

Type: String
Name of the event.
handler

Type: Function
Event handler.