feat(view): add onChange implementation to view.

Good point. Removed comment.