MapperModelToViewPositionEventData
typedef
Data pipeline object that can store and pass data between callbacks. The callback should add the viewPosition value to that object with calculated the view position.
Properties
isPhantom : boolean | undefinedmodule:engine/conversion/mapper~MapperModelToViewPositionEventData#isPhantomShould be set to
trueif the model position to map is pointing to a place in model tree which no longer exists. For example, it could be an end of a removed model range.module:engine/conversion/mapper~MapperModelToViewPositionEventData#mapperMapper instance that fired the event.
module:engine/conversion/mapper~MapperModelToViewPositionEventData#modelPositionThe model position.
viewPosition : ViewPosition | undefinedmodule:engine/conversion/mapper~MapperModelToViewPositionEventData#viewPositionThe callback should add the
viewPositionvalue to that object with calculated the view position.