Frontmatter
| id | 2274 |
| title | manager.Focus: focusChange event & trigger onFocusChange() on a cmp in case it exists |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jun 5, 2021, 11:25 PM |
| updatedAt | Jun 5, 2021, 11:27 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2274 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 5, 2021, 11:27 PM |
focusChange is a combined event for the 3 events: focusEnter, focusLeave or focusMove
it fires after them.
to implement it, all 4 events and methods need the same signature.
use case: it is easier to just use
focusChangeof the other 3 events. less boilerplate code.