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

No way to be notified upon creation of a new widget instance with specified widgetGuid #21

Open
dfinkbeiner opened this issue May 23, 2013 · 0 comments

Comments

@dfinkbeiner
Copy link

The class Ozone.state.WidgetState allows you to add state event listeners for a plethora of state events - but everything is tied to a widget's instanceId. There needs to be an API where you can provide a widgetGuid and receive callback when an instance of a widget with that widgetGuid is created. The callback should pass a state object with the same properties that Ozone.state.WidgetState.getWidgetState.cfg.callback provides. The callback should be called anytime a widget with that widgetGuid is created - regardless of whether it's caused by the user using the Launcher to create a new instance of that widget or whether the user just logged in and OWF is restoring his dashboard to how it was when he last logged out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant