myscript-text-web
:pencil2: :cloud: The easy way to integrate text handwriting recognition in your web app.
[ This description is mirrored from README.md at github.com/MyScript/myscript-text-web on 2019-05-22 ]
MyScript Text Web
The easy way to integrate text handwriting recognition in your web app.
myscript-text-web
is a Web component that can be used in every web application to bring text handwriting recognition and conversion.
It integrates all you need:
- Signal capture for all devices,
- Digital ink rendering,
- Link to MyScript Cloud to bring handwriting recognition.
Table of contents
Examples
If you're not familiar with MyScript and Interactive Ink, consider discovering its major features with our text demo and tutorial.
Simple example of myscript-text-web
.
All our examples with the source codes.
Features
- Easy to integrate,
- Digital ink capture and rendering,
- Rich editing gestures,
- Import and export content,
- Styling,
- Typeset support,
- 65 supported languages.
You can discover all the text features on our Developer website.
Requirements
- Have npm or yarn installed.
- Have a MyScript developer account. You can create one here.
- Get your keys and the free monthly quota to access MyScript Cloud at developer.myscript.com
Installation
Use an existing project or start a fresh one.
npm init
Install myscript-text-web
and use it as showed in the Usage section.
npm install myscript-text-web
Usage
Create an
index.html
file in the same directory.Add the following lines in the
head
section to import the library and the webcomponents polyfill.
<script type="module" src="node_modules/myscript-text-web/myscript-text-web.js"></script>
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
- Still in the
head
section, add the following style:
<style>
myscript-text-web {
height: 100vh;
}
</style>
- Use the component in the
body
section with the keys you received by mail.
<myscript-text-web
applicationkey="YOUR MYSCRIPT DEVELOPER APPLICATION KEY"
hmackey="YOUR MYSCRIPT DEVELOPER HMAC KEY">
</myscript-text-web>
- Your
index.html
file should look like this:
<html>
<head>
<script type="module" src="node_modules/myscript-text-web/myscript-text-web.js"></script>
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<style>
myscript-text-web {
height: 100vh;
}
</style>
</head>
<body>
<myscript-text-web
applicationkey="YOUR MYSCRIPT DEVELOPER APPLICATION KEY"
hmackey="YOUR MYSCRIPT DEVELOPER HMAC KEY">
</myscript-text-web>
</body>
</html>
- Launch a local Web server to start using it! We recommend to use the polymer one, you can find more information on the Polymer website.
polymer serve
You can find this guide and a more complete example on the MyScript Developer website.
Documentation
You can find a complete documentation with the following sections on our Developer website:
- Get Started: how to use myscript-text-web with a full example,
- Editing: how to interact with content,
- Conversion: how to convert your handwritten content,
- Import and Export: how to import and export your content,
- Styling: how to style content.
We also provide a complete API Reference.
Getting support
You can get support and ask your questions on the dedicated section of MyScript Developer website.
Sharing your feedback
Made a cool app with myscript-text-web
? We would love to hear about you!
We’re planning to showcase apps using it so let us know by sending a quick mail to myapp@myscript.com
Contributing
We welcome your contributions: if you wish to contribute to myscript-text-web
, feel free to fork it!
Please take a look at our contributing guidelines before submitting your pull request.
License
This library is licensed under the Apache 2.0.
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
- polymer#Polymer/polymer#1.4.x
- myscript-common-element#myscript-common-element#1.2.3
- Released
- 2017-01-03
- Maturity
- IMPORTED
- License
- Apache License 2.0
Compatibility
- Framework
- Polymer 1.0+
- Polymer 2.0+ in 4.0.0
- Browser
- Browser Independent
myscript-text-web - Vaadin Add-on Directory
:pencil2: :cloud: The easy way to integrate text handwriting recognition in your web app.`myscript-text-web` is a Web component that can be used in every web application to bring text handwriting recognition and conversion. It integrates all you need: * Signal capture for all devices, * Digital ink rendering, * Link to MyScript Cloud to bring handwriting recognition. ## Table of contents * [Examples](https://github.com/MyScript/myscript-text-web#examples) * [Features](https://github.com/MyScript/myscript-text-web#features) * [Requirements](https://github.com/MyScript/myscript-text-web#requirements) * [Installation](https://github.com/MyScript/myscript-text-web#installation) * [Usage](https://github.com/MyScript/myscript-text-web#usage) * [Documentation](https://github.com/MyScript/myscript-text-web#documentation) * [Support](https://github.com/MyScript/myscript-text-web#support) * [Feedback](https://github.com/MyScript/myscript-text-web#sharing-your-feedback) * [Contributing](https://github.com/MyScript/myscript-text-web#contributing) ## Examples If you're not familiar with MyScript and Interactive Ink, consider discovering its major features with our [text demo and tutorial](http://webdemo.myscript.com/views/text.html). [Simple example](https://myscript.github.io/myscript-text-web/#/elements/myscript-text-web/demos/get-started-[v4]) of `myscript-text-web`. [All our examples](https://myscript.github.io/myscript-text-web/#/elements/myscript-text-web/demos/other-examples) with the [source codes](https://github.com/MyScript/myscript-text-web/tree/master/src/demo-app/examples). ## Features * Easy to integrate, * Digital ink capture and rendering, * Rich editing gestures, * Import and export content, * Styling, * Typeset support, * 65 supported languages. You can discover all the text features on our [Developer website](https://developer.myscript.com/text). ## Requirements 1. Have [npm](https://www.npmjs.com/get-npm) or [yarn](https://yarnpkg.com/en/docs/install) installed. 2. Have a MyScript developer account. You can create one [here](https://dev.myscript.com/). 2. Get your keys and the free monthly quota to access MyScript Cloud at [developer.myscript.com](https://developer.myscript.com) ## Installation Use an existing project or start a fresh one. ```shell npm init ``` Install `myscript-text-web` and use it as showed in the [Usage]() section. ```shell npm install myscript-text-web ``` ## Usage 1. Create an `index.html` file in the same directory. 2. Add the following lines in the `head` section to import the library and the webcomponents polyfill. ```html ``` 3. Still in the `head` section, add the following style: ```html ``` 4. Use the component in the `body` section with the keys you received by mail. ```html
Issue tracker
Documentation
View on GitHub
Online Demo
myscript-text-web version 1.1.0
### Dependencies
Polymer/polymer#1.2.x
* PolymerElements/iron-icons#1.0.x
* PolymerElements/paper-fab#1.0.x
* PolymerElements/paper-toast#1.0.x
* PolymerElements/iron-flex-layout#1.0.x
* myscript-common-element#1.1.x
myscript-text-web version doc-1.1.0
### Dependencies
Polymer/polymer#1.2.x
* PolymerElements/iron-icons#1.0.x
* PolymerElements/paper-fab#1.0.x
* PolymerElements/paper-toast#1.0.x
* PolymerElements/iron-flex-layout#1.0.x
* myscript-common-element#1.1.x
myscript-text-web version 1.2.0
### Dependencies
Polymer/polymer#1.4.x
* myscript-common-element#1.2.0
myscript-text-web version doc-1.2.0
### Dependencies
Polymer/polymer#1.4.x
* myscript-common-element#1.2.0
myscript-text-web version 1.2.1
### Dependencies
* polymer#Polymer/polymer#1.4.x
* myscript-common-element#myscript-common-element#1.2.1
myscript-text-web version 1.2.2
### Dependencies
* polymer#Polymer/polymer#1.4.x
* myscript-common-element#myscript-common-element#1.2.2
myscript-text-web version 1.2.3
### Dependencies
* polymer#Polymer/polymer#1.4.x
* myscript-common-element#myscript-common-element#1.2.3
myscript-text-web version 4.0.0
### Dependencies
* polymer#^2.0.1
* myscript-common-element#^4.0.0
myscript-text-web version 4.0.1
### Dependencies
* polymer#^2.0.1
* myscript-common-element#^4.0.0
myscript-text-web version 4.1.0
### Dependencies
* polymer#^2.0.1
* myscript-common-element#4.1.x
myscript-text-web version 4.1.1
### Dependencies
* polymer#^2.0.1
* myscript-common-element#^4.1.1
myscript-text-web version 5.0.0
### Dependencies
* polymer#^2.0.1
* myscript-common-element#master
myscript-text-web version 5.1.0
### Dependencies
* polymer#^2.0.1
* myscript-common-element#master