- Addition of a new Recognition Assets Builder API to dynamically build text lexicons and math grammars
- Ability to import JJIX Math content
- Style and decoration support in the JIIX exports
- New configuration options for a finer tuning of JIIX exports
- Always connected is now the default mode for better end user experience
- The attributes
processdelayandtriggerdelayare now correctly transfered to configuration.
myscript-common-element now supports all the features introduced by the version 4.2.0 of MyScriptJS.
- We are now using Polymer 3. For more details, please refer to the Polymer documentation.
- Multiple smart guides now working in case of multiple editors.
- Modifications to include smart guide from MyScriptJS
- New
penStyleClassesproperty. Used to change the theme using classes passed using thethemeproperty (see the example). - New
usepointerlistenersproperty used to force the pointer events use. - 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,possibleUndoCountandundoStackIndexproperties in details onchangedevent to help development of custom undo/redo stacks.
importContent()andexportContent()respectively renamed toimport_()andexport_().importInk(strokes)changed topointerEvents(events).
- Editor on iOS wasn't working properly due to touch-action: none in CSS not supported in Safari.
- New events to be notified of editor changes.
- New
strokecolorandstrokewidthattributes. Used to change current writing style. - New
unloadedflag to control component state.loadevent will be trigger once the editor will be fully loaded. - New not mutable
configurationattribute. Changing the configuration will clear the underlying editor, all currents strokes and results will be lost. To do it, setunloaded=trueafter changing configuration, and wait for aloadevent. - New read-only
editorproperty that allow you to access to the underlying editor object (see MyScriptJS documentation for more details). - New CSS variables to customize the web-component. See demo/styling.html as an example.
- Complete rewrite of the underlying javascript library with ES6 syntax
- Internal design improved to allow extensibility and support of upcoming recognition types. Documentation and illustrating samples to come in next release.
- Removal of all deprecated attributes and methods
- All events has been renamed. See the documentation to discover new behavior.
resulttypes,language,typeset,textparameters,mathparameters,shapeparameters,musicparameters,analyzerparametersare replaced by the uniqueconfigurationattribute (see MyScriptJS documentation for a complete spec).- Renamed
timeoutattribute torecognitiontriggerdelay - Renamed
delete()property toclear() - Changed
sslattribute to aschemeattribute (i.e.ssl=truewill be replaced byscheme=https) getAvailableLanguages()have been replaced by a new web-component. You can use it to retrieve the list of available languages for your configuration.
## Bugs
- User can no longer write when an unrecoverable error is detected forcing him to reload the page. See demo/handle_error.html to see how it works.
For more details about attributes, look at the documentation.
myscript-common-elementdoes not support pure shadow DOM. Still some issues to use underlying css.
- Change colors to fit the new MyScript Developer theme
- New
strokecolorattribute to setup/change stroke color settings - New
strokewidthattribute to setup/change stroke width settings
- See MyScriptJS v1.2.2 for fixes
- See MyScriptJS v1.2.1 for fixes
- Mutable
hostattribute - Mutable
protocolattribute - New
mathparametersattribute to setup/change math recognition settings - New
textparametersattribute to setup/change text recognition settings - New
shapeparametersattribute to setup/change shape recognition settings - New
musicparametersattribute to setup/change music recognition settings - New
analyzerparametersattribute to setup/change analyzer recognition settings - New
typesetattribute to allow shape and analyzer rendering on the element - Deprecated
languageattribute, replaced bytextparameters.language - Deprecated
resulttypesattribute, replaced bymathparameters.resultTypes - New undo/redo/clear/recognize buttons to control the element state
- New error panel to display potential errors
- Upgrade from Polymer 1.2 to 1.4
- Add docs/demo buttons on component page
- Add
getStats()method to get various stats relative to ink in order to help evaluate the myscript cdk usage
- Unused
configurationattribute removed - Fixes issue when setting
hostfrom javascript (@see mutablehostfeature) - Fixes issue when setting
hostin WebSocket recognition (@see mutablehostfeature) - Fixes issue when setting
protocolfrom javascript (@see mutableprotocolfeature) - Fixes issue on resize due to CSS
- Explicit default values on documentation