eventPath property

List<EventTarget> get eventPath
inherited

Implementation

List<EventTarget> get eventPath {
  List<EventTarget> path = [];
  EventTarget? current = this;
  while (current != null) {
    path.add(current);
    current = current.parentEventTarget;
  }
  return path;
}