Expand all

ve.PositionStep

Constructor

new ve.PositionStep(node, type, offset) #

Parameters:

Name Type Description
node Node

The element or text node being crossed

type string

The type of step: "enter", "leave", "cross" or (for text nodes) "internal"

offset number

For "internal" text node steps only: the character offset being crossed

Source: