gsap-trial
Version:
Trial version of GSAP that includes all bonus plugins which are normally available exclusively to Club GSAP members. *** DO NOT DEPLOY THESE FILES *** They only work locally or on domains like codepen.io, codesandbox.io, stackblitz.com and jsfiddle.com. I
74 lines (58 loc) • 1.61 kB
TypeScript
declare namespace TextPlugin {
interface Vars {
value: string;
type?: string;
rtl?: boolean;
speed?: number;
delimiter?: string;
padSpace?: boolean;
newClass?: string;
oldClass?: string;
preserveSpaces?: boolean;
}
}
declare namespace gsap {
interface TweenVars {
text?: string | TextPlugin.Vars;
}
}
declare namespace gsap.plugins {
interface TextPlugin extends Plugin {
}
interface TextPluginClass extends TextPlugin {
new(): PluginScope & TextPlugin;
prototype: PluginScope & TextPlugin;
}
const text: TextPluginClass;
}
declare const TextPlugin: gsap.plugins.TextPlugin;
declare module "gsap/TextPlugin" {
export const TextPlugin: gsap.plugins.TextPlugin;
export { TextPlugin as default };
}
declare module "gsap/src/TextPlugin" {
export * from "gsap/TextPlugin";
export { TextPlugin as default } from "gsap/TextPlugin";
}
declare module "gsap/dist/TextPlugin" {
export * from "gsap/TextPlugin";
export { TextPlugin as default } from "gsap/TextPlugin";
}
declare module "gsap/all" {
export * from "gsap/TextPlugin";
}
declare module "gsap-trial/TextPlugin" {
export * from "gsap/TextPlugin";
export { TextPlugin as default } from "gsap/TextPlugin";
}
declare module "gsap-trial/src/TextPlugin" {
export * from "gsap/TextPlugin";
export { TextPlugin as default } from "gsap/TextPlugin";
}
declare module "gsap-trial/dist/TextPlugin" {
export * from "gsap/TextPlugin";
export { TextPlugin as default } from "gsap/TextPlugin";
}
declare module "gsap-trial/all" {
export * from "gsap/TextPlugin";
}