How can I know which event let me receive Blaze.TemplateInstance?


#1

I’m learning Meteor by official tutorial.
There is an example in ch.7 “Storing temporary UI state in a Reactive Dictionary”:

  'change .hide-completed input'(event, instance) {
    instance.state.set('hideCompleted', event.target.checked);
  },

This code is written in Template.body.events's parameter.

I can understand the explanation that tells what is instance object for in 'change .hide-completed input' event handler.

And I can see it is actually Blaze.TemplateInstance object, using chrome’s debugger.

But how I can know which event let me receive it before writing code?
I tried to find but couldn’t understand which document I should read.


#2

They’re essentially jQuery events.