component-inject-at-cursor

0.0.5 • 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    1

Package Sidebar

Install

npm i component-inject-at-cursor

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • defunctzombie
  • tootallnate
  • tjholowaychuk
  • rauchg
  • retrofox
  • coreh
  • forbeslindesay
  • kelonye
  • mattmueller
  • yields
  • anthonyshort
  • jongleberry
  • ianstormtaylor
  • cristiandouce
  • swatinem
  • stagas
  • amasad
  • juliangruber
  • calvinfo
  • dominicbarnes
  • timoxley
  • jonathanong
  • queckezz
  • clintwood
  • thehydroimpulse
  • stephenmathieson
  • trevorgerhardt