primitives

The license could not be verified: License Certificate has expired!

How to get primitives

import primitives from 'fontoxml-base-flow/src/primitives.js'

Type: Object

Base flow primitives express modular edits on the dom which always output a schema-valid result, making decisions based on flow configuration.

Properties

Name Type Description
applyModelUsingStencil applyModelUsingStencil
collapseElements collapseElements
collapseElementsInRange collapseElementsInRange
convertElement convertElement
convertTextCase convertTextCase
createDefaultTextContainer createDefaultTextContainer
deleteCharacterData deleteCharacterData
deleteNodesInRange deleteNodesInRange
deleteTextInRange deleteTextInRange
ensureValidSelection ensureValidSelection
exitNodeUntil exitNodeUntil
importNodes importNodes
insertNodeHorizontal insertNodeHorizontal
insertNodes insertNodes
insertText insertText
movePositionToTextInsertionPoint movePositionToTextInsertionPoint
processPositionsDirectionally processPositionsDirectionally
removeNodes removeNodes
setCursorToFirstOrLastTextPosition setCursorToFirstOrLastTextPosition
setValidSelectionOrClear setValidSelectionOrClear
wrapInMultipleElements wrapInMultipleElements
wrapInSingleElemen wrapInSingleElement
Was this page helpful?