Are there any docs about the gwd (google webdesigner) api?

814 views
Skip to first unread message

Nico

unread,
Jul 9, 2015, 8:06:10 AM7/9/15
to gwd...@googlegroups.com
Hi there,

I'm new to Google Webdesigner and i've been looking at some examples.
I'm trying to use the Google Webdesigner Components. But i can't seem to find any docs about the api
that will explain witch methods or properties i should be using. Is this because it's still a beta?

For example i would like to tweak the animation of het 360 gallery component transition.
So when i swipe left or right, the swipe animation will have an easing so it won't immediately stops when u stop swiping.
I see that when i preview the 360 component it will swipe on it's own, but i can't seem to add any easing on the transition.
( i did add a custom event, but how do i tweak the components transition?).

this what i got so far:
gwd.actions.events.registerEventHandlers = function(event) {
   gwd
.actions.events.addHandler('gwd-gesture_1', 'swiperight', gwd.auto_Gwd_gesture_1Swiperight, false);
};

gwd.auto_Gwd_gesture_1Swiperight = function(event) {
   // do the easing somehow
   gwd.actions.gwd360gallery.goForwards('gwd-360gallery_1');
};

Are there any api docs that i can use? and i don't mean this: https://support.google.com/webdesigner/answer/3195037?hl=en-GB
but more something like this for example: http://www.createjs.com/docs/easeljs/modules/EaselJS.html

Thanks,

Nico.

Jaz

unread,
Jul 9, 2015, 5:43:26 PM7/9/15
to gwd...@googlegroups.com
Hi Nico,

We do have docs on using and creating custom components for use in GWD. Can you take a look here and let me know if this answers your question?

https://support.google.com/webdesigner/topic/6175711

thx
jaz
Program Manager, GWD

justi...@teamaol.com

unread,
Oct 29, 2015, 10:56:47 AM10/29/15
to Google Web Designer beta
+1 for documenting the gwd API. The "creating custom components" documentation does not cover how to do things like add custom tracking.

San Khong

unread,
Oct 29, 2015, 1:27:51 PM10/29/15
to Google Web Designer beta
We have added Component API doc recently.  We are working on adding examples to them also.  

Hope it helps.
San
Reply all
Reply to author
Forward
0 new messages