From 442e8b2f05a35ed9d8cc5fc6e9afeeabf9e3972c Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Tue, 6 Aug 2013 01:17:29 -0400 Subject: [PATCH] adds more examples --- node/src/documents/modules/transition.html | 48 ++++++++++++++++++---- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/node/src/documents/modules/transition.html b/node/src/documents/modules/transition.html index 3bc211987..04901f41b 100755 --- a/node/src/documents/modules/transition.html +++ b/node/src/documents/modules/transition.html @@ -107,36 +107,70 @@ type : 'UI Module'

Flash

An element can flash to draw attention to itself

+
+ $('.dog.image') + .transition('flash') + ; +

Shake

An element can shake to draw attention to its position

+
+ $('.dog.image') + .transition('shake') + ; +

Tada

An element can give user positive feedback for an action

+
+ $('.dog.image') + .transition('tada') + ; +

Bounce

An element can bounce to politely remind you of itself

+
+ $('.dog.image') + .transition('bounce') + ; +

Appearance

-

Horizontal Flip

-

An element can flip in horizontally into or out of view

-
-
-

Vertical Flip

-

An element can flip vertically into or out of view

+

Flip

+

An element can flip into or out of view vertically or horizontally

+
+ $('.dog.image') + .transition('horizontal flip') + .transition('vertical flip') + ; +

Fade

-

An element can fade into or out of view

+

An element can fade into or out of view descending and ascending

+
+ $('.dog.image') + .transition('fade') + .transition('fade up') + .transition('fade down') + ; +

Scale

An element can scale into or out of view

+
+ $('.dog.image') + .transition('scale') + ; +

Behavior