Made changes to the source files to add event binding.
Added an example to the markdown