Readonly
canTrue if redo()
can be called at least once
Readonly
canTrue if undo()
can be called at least once.
Register event listener for specific events.
name of the event
the event handler callback will be invoked when the event has been emitted
a handle to unregister from the event
Register event listener for any event.
must be "*"
for this overload
the event handler callback will be invoked when any event has been emitted
a handle to unregister from the events
Register event listener for the events listed in eventName
.
Comma separated event names are possible, for example "eventA,eventB"
.
the event name or list of names
the event handler callback
a handle to unregister from the event(s)
Interface for the history service (reference
"mapnavigation.History"
).