Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

v4 Feature request - eventListener #8

Closed
anton7r opened this issue Aug 30, 2019 · 4 comments
Closed

v4 Feature request - eventListener #8

anton7r opened this issue Aug 30, 2019 · 4 comments
Labels
feature request New feature or request

Comments

@anton7r
Copy link
Owner

anton7r commented Aug 30, 2019

add onEvent listeners on a7.createElement()

event listeners are a core factor in javascript in general so onEvent listeners would be a great addon to the framework!

@anton7r anton7r added the feature request New feature or request label Aug 31, 2019
@anton7r
Copy link
Owner Author

anton7r commented Sep 11, 2019

yes this would work perfectly with our new component render engine which has nearly no cost running.

it would execute them in the router after the render so that the page has the elements.
and on the a7.addEventListener function the listeners would be added to a array and a for loop fires each of listener functions!

@anton7r
Copy link
Owner Author

anton7r commented Sep 13, 2019

this has now been fullfilled

@anton7r anton7r closed this as completed Sep 13, 2019
@anton7r anton7r reopened this Sep 14, 2019
@anton7r
Copy link
Owner Author

anton7r commented Sep 14, 2019

A new solution is needed!

Ive written it down to paper, moving it into a new issue

@anton7r
Copy link
Owner Author

anton7r commented Sep 16, 2019

working as inteded

@anton7r anton7r closed this as completed Sep 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant