Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think you need an argument. Within the callback function you still hold a reference to floor, and you know the up button has been pressed. There doesn't seem to be any more information. Note that there is also down_button_pressed


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: