component/tip — pull request #45 by bmcmahen (2014-09-10 04:36:03+00:00)
Title: accept element for content, add 'hiding' event

just a couple of things I needed. The docs suggested that elements could be accepted as content. This pr allows this. I've also added a 'hiding' event that occurs before the element is actually removed. Useful when using 'fade', for example, which only fires the 'hide' event after 300ms.

oh, and i deleted an unused 'self' var.