inject-at-cursor

0.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i inject-at-cursor

Weekly Downloads

0

Version

0.0.6

License

MIT

Last publish

Collaborators

  • tootallnate