event binding in granular functions using component/bind