feat(view): add onChange implementation to view.

Done.