This extension provides you GreenSock snippets for VS Code.
Save time typing, enjoy tweening.
Prefix | Outcome |
---|---|
impg |
import { gsap } from "gsap" |
.to |
.to(selector, { duration: 1, vars }) |
.from |
.from(selector, { duration: 1, vars }) |
.fromTo |
.fromTo(selector, { vars }, {duration: 1, vars }) |
.set |
.set(selector, { vars }) |
tl |
const tl = gsap.timeline({ tlVars }) |