I am implementing a knockoutJS-base client side comments system. I need to change the textarea style the moment the user has clicked on it to enable editing, and to style the textarea back to the defaults when a user has clicked somewhere else of the page (click-out) making the textarea inactive.
How do I bind to these events with knockoutJS?