blueprint Mutations
Type: Object
How to get blueprintMutations?
JavaScript
import blueprintMutations from 'fontoxml-blueprints/src/blueprintMutations.js'
Blueprint mutations are atomic mutations on the dom. Using these instead of the methods on Blueprint has the advantage that it takes positions into account.
Blueprint mutations do not validate their outcome. They can be chained to mutate multiple things in a structure.
Static properties
unsafe Collapse Element
Type: unsafeCollapseElement
unsafe Insert Nodes
Type: unsafeInsertNodes
unsafe Move Character Data
Type: unsafeMoveCharacterData
unsafe Move Nodes
Type: unsafeMoveNodes
unsafe Set Multiple Attributes
unsafe Split Node
Type: unsafeSplitNode
unsafe Split Until
Type: unsafeSplitUntil