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 optional callback to adjustHeight, adjustWidth, and adjustSize APIs #1299

Open
mmarum-sugarcrm opened this issue Jun 5, 2013 · 0 comments

Comments

@mmarum-sugarcrm
Copy link
Member

Original author: [email protected] (December 17, 2012 14:36:29)

Since a container does not have to allow the gadget view port to grow in size and adjustHeight, adjustWidth, and adjustSize all execute asynchronously it would be useful for these APIs to have optional callbacks to let the gadget know when the container is done doing the work. In the callbacks the gadgets can then check the view port size and figure out if they were given more size or not.

Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=1330

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