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

Enhancement - Optional iron-page-behavior for childs with select / deselect lifecycle callbacks. #50

Closed
bwh-rl opened this issue Sep 14, 2016 · 2 comments

Comments

@bwh-rl
Copy link

bwh-rl commented Sep 14, 2016

Main reason for this would be the view switching like shown in the starter-kit.
e.g. If i have an Video on an view element, you want it to stop it on deselect.
Or reloading ajax requests on select, or resetting form data to blank, ...

On select / deselect the iron-pages element would have to check if the selected / deselected element got the iron-page-behavior, and call the function. The usage without that feature would not change at all.

@bwh-rl
Copy link
Author

bwh-rl commented Sep 14, 2016

Maybe an child behavior is not needed at all.
Just check if the function exist and call it.

@bwh-rl bwh-rl changed the title Enhancement - Optional iron-page-behavior for childs with select / deselect lifecycle methods. Enhancement - Optional iron-page-behavior for childs with select / deselect lifecycle callbacks. Sep 14, 2016
@bwh-rl
Copy link
Author

bwh-rl commented Sep 14, 2016

Moved PolymerElements/iron-selector#140

@bwh-rl bwh-rl closed this as completed Sep 14, 2016
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

No branches or pull requests

1 participant