Hi I looked around the internet and could not find on how to trigger an event when leaving a InputSurface in Famo.us.
I got it to work when clicking on the inputSurface.
usernameTextbox.on("click", function () {
if (usernameTextbox.getValue() == "Username") {
usernameTextbox.setValue("");
}
})
Thanks