You can also use the same old <Require feature='x' /> or the new <Optional feature='x' /> to get access to different parts of the gadgets namespace.
For instance: Use <Require feature="dynamic-height" /> to get access to gadgets.window Use <Require feature="setprefs" /> to get access to gadgets.Prefs Use <Require feature="skins" /> to get access to gadgets.skins It seems like we need to use <Require for all the 'feature-specific items' listed, but all the features listed as 'Core API' should be there by default. At least that's the pattern I'm seeing. http://code.google.com/apis/gadgets/docs/reference/index.html -Dustin paps wrote: > > > > > just check the repository of apache shindig project. > there is a javascript/gadgets folder, include io.js in your app using > script > tags - that should work! > > > On Feb 6, 4:30 pm, [EMAIL PROTECTED] wrote: > >> How do i use the gadgets.* functions in opensocial. It is pretty >> obvious that some js file or a >> <Require feature="" /> is needed. But i do not know what exactly is >> needed. It will be great if someone can help out (api version is 0.7) >> >> -- >> Manu >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

