MCPcopy
hub / github.com/Tencent/weui.js / setTransition

Function setTransition

src/picker/scroll.js:24–29  ·  view source on GitHub ↗
($target, time)

Source from the content-addressed store, hash-verified

22 * @param time
23 */
24const setTransition = ($target, time) => {
25 return $target.css({
26 '-webkit-transition': `all ${time}s`,
27 'transition': `all ${time}s`
28 });
29};
30
31
32/**

Callers 2

stopFunction · 0.85
_moveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected