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

Event handlers #8

Open
darklight9811 opened this issue Jul 22, 2022 · 0 comments
Open

Event handlers #8

darklight9811 opened this issue Jul 22, 2022 · 0 comments

Comments

@darklight9811
Copy link

This does not fall in the case of the callback url, its not a external callback we wish to trigger. But an event handler (similar to onClick, onChange, etc).

Examples/suggestions

onPurchase

Allow sync data with the application to allow internal refresh after a purchase so user can receive visual feedback of his purchase from inside the app context (not marketplace context).

onFilter

If the marketplace is only a part of a larger market scope, allowing a filter event handler would allow to sync outside data with its scope.

onReady

Callback to display when the store is fully loaded

onLogin

Get user information (not keys)

onLogout

To remove user information given by onLogin

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