UI pack: Can’t use slideUp/Down or fadeIn/Out within Velocity.RegisterEffect
See original GitHub issueI’d like to leverage slideUp/Down in my UI transition, but am unable to.
Have tried something like this:
$.Velocity.RegisterEffect("transition.openDrawer", {
defaultDuration: 800,
calls: [
[{ slideDown }, { duration: 1200 }],
[{ opacity: 1 }, { queue: false }]
]
});
As well as:
// line 4
[slideDown, { duration: 1200 }],
Console output
Uncaught ReferenceError: slideDown is not defined
Is this possible at present?
Many thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
Complete callback fired per animated element when using ...
Hi! I noticed the complete callback fires once per animated element when using one velocity call on a jQuery collection of multiple elements ......
Read more >javascript - Velocity.js UI pack effects not applying with Blast.js ...
The problem is that no matter what effect I use, I always get the fade-out effect. On the same page I have a...
Read more >Velocity.js
Watch (10min) a tutorial explaining how this 3D demo was built in Velocity. Watch (5min) a tutorial explaining how Velocity's UI pack improves...
Read more >Faster UI Animations With Velocity JS - Smashing Magazine
Let's dive into some simple code examples. Using The UI Pack #. Callouts and transitions are referenced via Velocity's first parameter: Pass in...
Read more >Make Your Website Interactive and Fun with Velocity.js (No ...
In the demo below, I use Velocity.js UI Pack to hide a form after submission and show a success icon to the user....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool, I didn’t know and didn’t expect it to, but good to hear 😃
A lot of the props aren’t passed on - but changing (which will happen) will be a breaking change in the future.