Attach event handler functions with delay