Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the render event dispatched on roots #15

Merged
merged 1 commit into from
Sep 12, 2017
Merged

Add the render event dispatched on roots #15

merged 1 commit into from
Sep 12, 2017

Conversation

stasm
Copy link
Owner

@stasm stasm commented Sep 11, 2017

This is an alternative proposal to fixing #12. The render event gives the users of innerself a hook to add custom logic after the render is complete. Focus and selection can be restored in listeners to this event.

The render event gives the users of innerself a hook to add custom logic
after the render is complete. It allows to restore focus, selection
and caret positions after render.

Fixes #12.
@stasm stasm merged commit 3af6985 into master Sep 12, 2017
@stasm stasm deleted the render-event branch September 12, 2017 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant