model Binder
Type: Object
How to get modelBinder?
JavaScript
import modelBinder from 'fontoxml-stencils/src/modelBinder.js'
The modelBinder provides various functions which can help with syncing between models and aligned stencils
Static properties
get Selection Range
Type: Function
Get the selectionRange prefered by the stencil, if any. It does this using the selection.start / selection.end gaps
Refer to modelBinder for more information on how to import and use this function.
Arguments
Returns
sync Model To Stencil
Type: Function
Write a model to an aligned stencil
Refer to modelBinder for more information on how to import and use this function.
Arguments
sync Stencil To Model
Type: Function
Write a model to an aligned stencil
Refer to modelBinder for more information on how to import and use this function.
Arguments