Add event listener
Merge pull request #717 from liuchuangww/event

Add event listener