ViewTreeWalkerOptions
interface
The configuration of ViewTreeWalker.
Properties
boundaries?: ViewRange | nullmodule:engine/view/treewalker~ViewTreeWalkerOptions#boundariesRange to define boundaries of the iterator.
module:engine/view/treewalker~ViewTreeWalkerOptions#directionignoreElementEnd?: booleanmodule:engine/view/treewalker~ViewTreeWalkerOptions#ignoreElementEndFlag indicating whether iterator should ignore
elementEndtags. If the option is true walker will not return a parent node of start position. If this option istrueeachViewElementwill be returned once, while if the option isfalsethey might be returned twice: for'elementStart'and'elementEnd'.shallow?: booleanmodule:engine/view/treewalker~ViewTreeWalkerOptions#shallowFlag indicating whether iterator should enter elements or not. If the iterator is shallow child nodes of any iterated node will not be returned along with
elementEndtag.singleCharacters?: booleanmodule:engine/view/treewalker~ViewTreeWalkerOptions#singleCharactersFlag indicating whether all characters from
ViewTextshould be returned as oneViewText(false) or one by one asViewTextProxy(true).module:engine/view/treewalker~ViewTreeWalkerOptions#startPositionStarting position.