yabab-dev / ng2-codemirror

Angular2 CodeMirror component
MIT License
70 stars 30 forks source link

Should be able to get data from events emitted #21

Closed AhsanAyaz closed 7 years ago

AhsanAyaz commented 7 years ago

We're just calling function on emitting events. We should forward necessary information like instance and event so they can be used in complex scenarios. For example the for the below functions, we should get the respective information.

screen shot 2017-06-09 at 2 53 24 am