public defaultFires()

in src/focus.service.ts [424:441]


  public defaultFires(ev: ArcEvent, scrollSpeed: number | null = this.scrollSpeed): boolean {
    if (ev.defaultPrevented) {
      return true;
    }

    const directional = isDirectional(ev.event);
    if (directional && ev.next !== null) {
      this.selectNode(ev.next, scrollSpeed);
      return true;
    } else if (ev.event === Direction.SUBMIT) {
      if (this.selected) {
        this.selected.click();
        return true;
      }
    }

    return false;
  }