Merge pull request #8 from wyuenho/view-native-hooks

Fix test and resurrect #7 for fc95eae
return `this` from `delegate`
More consistent argument order for setElement