feat(view): add onChange implementation to view.