0.0.5 • Published 10 years ago

component-inject-at-cursor v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

inject-at-cursor

inject a string or dom node at the cursor

Installation

Install with component(1):

$ component install component/inject-at-cursor

API

inject(content)

Inject content at the cursor. content can either be a text string or some html. Returns the content node

Test

Run tests using component-test:

npm install component-test
make test

License

MIT