Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Google Wave Gadgets API & Examples

Robots, Gadgets, Embed

Pamela Fox

on 28 June 2010

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Google Wave Gadgets API & Examples

Google Wave
Gadgets API state callback state delta wave.setStateCallback(update);

function update() {
var keys = wave.getState().getKeys();

for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (key.match('^vote-')) {
total += parseInt(wave.getState().get(key));
document.getElementById('total').innerHTML = total;
} function onClick() {
wave.getState().submitValue('vote-' wave.getViewer().getId(), -1);
State Delta State Callback XML CSS HTML JS CSS HTML XML Gadgets API Wave Gadgets API + Wave Gadget = Mini Webpage Shared State Collaborative Web App + = state: vote-douwe@google.com | 1 state: Examples
Full transcript