@textcomplete/textarea
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "@textcomplete/textarea", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Textcomplete editor for HTMLTextAreaElement", | ||
@@ -19,4 +19,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@textcomplete/core": "^0.1.3", | ||
"@textcomplete/utils": "^0.1.3", | ||
"@textcomplete/core": "^0.1.4", | ||
"@textcomplete/utils": "^0.1.4", | ||
"@types/textarea-caret": "^3.0.0", | ||
@@ -45,3 +45,3 @@ "textarea-caret": "^3.1.0", | ||
}, | ||
"gitHead": "3f6e818f8e7f26b89526088303c5835b967ea92a" | ||
"gitHead": "0bc47e69d7849c5aaa08be551ec73c0f3b2e5508" | ||
} |
@@ -5,2 +5,4 @@ # @textcomplete/textarea | ||
[![npm version](https://badge.fury.io/js/@textcomplete%2Ftextarea.svg)](http://badge.fury.io/js/@textcomplete%2Ftextarea) | ||
## Install | ||
@@ -16,6 +18,14 @@ | ||
const { Textcomplete } = require("@textcomplete/core") | ||
const { Textarea } = require("@textcomplete/textarea") | ||
const { TextareaEditor } = require("@textcomplete/textarea") | ||
const editor = new Textarea(textareaElement) | ||
const editor = new TextareaEditor(textareaElement) | ||
const textcomplete = new Textcomplete(editor, strategies, option) | ||
``` | ||
## Usage | ||
Read the [document](https://yuku.takahashi.coffee/textcomplete/). | ||
## License | ||
© Yuku Takahashi - This software is licensed under the MIT license. |
35324
30
Updated@textcomplete/core@^0.1.4
Updated@textcomplete/utils@^0.1.4