LearnNewsExamplesServices
Frontmatter
id2274
titlemanager.Focus: focusChange event & trigger onFocusChange() on a cmp in case it exists
stateClosed
labels
enhancement
assigneestobiu
createdAtJun 5, 2021, 11:25 PM
updatedAtJun 5, 2021, 11:27 PM
githubUrlhttps://github.com/neomjs/neo/issues/2274
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 5, 2021, 11:27 PM

manager.Focus: focusChange event & trigger onFocusChange() on a cmp in case it exists

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jun 5, 2021, 11:25 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 focusChange of the other 3 events. less boilerplate code.

tobiu added the enhancement label on Jun 5, 2021, 11:25 PM
tobiu assigned to @tobiu on Jun 5, 2021, 11:25 PM
tobiu referenced in commit 1793a91 - "manager.Focus: focusChange event & trigger onFocusChange() on a cmp in case it exists #2274" on Jun 5, 2021, 11:27 PM
tobiu closed this issue on Jun 5, 2021, 11:27 PM