created disable and enable methods and bound custom events on component