Refactor, don't use `this` in defineType
Fix typo
Rename Type#on to when
Refactor remove Type
Refactor
Refactor
Refactor test
Add test
Add support preventDefault for eip:submit event