Added event declaration for subviews

view elements may bind events for subviews