Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

v4.1.0 (part of iink 1.1) Smart guide, lines, animations and more

Compare
Choose a tag to compare
@padewitte padewitte released this 31 Jan 07:21
· 197 commits to master since this release

Features

  • New smart guide enabled by default:
    • Show real time recognized text above writings,
    • Change recognized words on click using candidates,
    • Convert, copy or delete text using the action menu,
    • Fade out animation to make the smart guide disappear after a certain duration,
  • Google Fonts support (see the example)
  • Custom resources support, upload your custom resources to modify the recognition behaviour. (see the text or the math example.)
  • New penStyleClasses property. Used to change the theme using a classes passed using the theme property (see the example).
  • New guides for text using a svg DOM element behind the model layer.
  • No more css background if api is set to V4.
  • New isEmpty, possibleUndoCount and undoStackIndex properties in details on changed event to help development of custom undo/redo stacks.

Breaking changes

In order to be consistent with the native API :

  • importContent() and exportContent() respectively renamed to import_() and export_().
  • importInk(strokes) changed to pointerEvents(events).