Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Add $js->effect()

#8

effect($name, $options = array())
Creates a basic effect. By default this method is not buffered and returns its result.

Supported effect names
The following effects are supported by all JsEngines

•show - reveal an element.
•hide - hide an element.
•fadeIn - Fade in an element.
•fadeOut - Fade out an element.
•slideIn - Slide an element in.
•slideOut - Slide an element out.
Options
•speed - Speed at which the animation should occur. Accepted values are 'slow', 'fast'. Not all effects use the speed option.
Example use
If you were using the jQuery engine.

$js->get('#element'); $result = $js->effect('fadeIn');

//$result contains $("#foo").fadeIn();

Reported by Sean Templeton · January 30th, 2010 @ 12:07 AM

State: new
Milestone: DojoCake 1.3.2
Assigned to: Sean Templeton Sean Templeton

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.