"onrender" directive