Changing Views Dynamically in Open Social applications

Changing views dynamically can be done by using the gadgets.views.navigateTo method of the Gadget API. The following example will take a user to the canvas view.

<input type="button" value="Canvas"
onclick="var views = gadgets.views.getSupportedViews();

Enjoyed this post? Share it!


Leave a comment

Your email address will not be published.