mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-12 10:47:05 +00:00
19 lines
247 B
TypeScript
19 lines
247 B
TypeScript
import { init } from "ityped";
|
|
|
|
const config = {
|
|
strings: [
|
|
"Strings!",
|
|
],
|
|
typeSpeed: 120,
|
|
pause: 500,
|
|
loop: true
|
|
};
|
|
|
|
init("#selector", config);
|
|
|
|
init("#anotherSelector", {
|
|
loop: false
|
|
});
|
|
|
|
init("#anotherOne", {});
|