enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

Adding "root" property to options #111

Open pose opened 10 years ago

pose commented 10 years ago

This PR adds an options property named root that allows to specify where the container must be placed. This is due to a library use case where I don't want to place it on document.body and pollute the embedder DOM.

Thanks in advance,

Ps. Sorry about all those files changes, as all devDependencies are listed as version '*' it grabs the latest version from npm (which differs from the ones where the library was built).