MCPcopy
hub / github.com/mattboldt/typed.js / TypedOptions

Interface TypedOptions

index.d.ts:9–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8declare module 'typed.js' {
9 export interface TypedOptions {
10 /**
11 * strings to be typed
12 */
13 strings?: string[];
14 /**
15 * ID or instance of HTML element of element containing string children
16 */
17 stringsElement?: string | Element;
18 /**
19 * type speed in milliseconds
20 */
21 typeSpeed?: number;
22 /**
23 * time before typing starts in milliseconds
24 */
25 startDelay?: number;
26 /**
27 * backspacing speed in milliseconds
28 */
29 backSpeed?: number;
30 /**
31 * only backspace what doesn't match the previous string
32 */
33 smartBackspace?: boolean;
34 /**
35 * shuffle the strings
36 */
37 shuffle?: boolean;
38 /**
39 * time before backspacing in milliseconds
40 */
41 backDelay?: number;
42 /**
43 * Fade out instead of backspace
44 */
45 fadeOut?: boolean;
46 /**
47 * css class for fade animation
48 */
49 fadeOutClass?: string;
50 /**
51 * Fade out delay in milliseconds
52 */
53 fadeOutDelay?: number;
54 /**
55 * loop strings
56 */
57 loop?: boolean;
58 /**
59 * amount of loops
60 */
61 loopCount?: number;
62 /**
63 * show cursor
64 */
65 showCursor?: boolean;
66 /**

Callers 11

beginMethod · 0.80
completeMethod · 0.80
keepTypingMethod · 0.80
doneTypingMethod · 0.80
lastStringBackspacedMethod · 0.80
typewriteMethod · 0.80
typewriteMethod · 0.80
resetMethod · 0.80
stopMethod · 0.80
startMethod · 0.80
destroyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…