Sending @rendered event when rendering is done