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

Method setPauseStatus

src/typed.js:375–379  ·  view source on GitHub ↗

* Has the typing been stopped * @param {string} curString the current string in the strings array * @param {number} curStrPos the current position in the curString * @param {boolean} isTyping * @private

(curString, curStrPos, isTyping)

Source from the content-addressed store, hash-verified

373 * @private
374 */
375 setPauseStatus(curString, curStrPos, isTyping) {
376 this.pause.typewrite = isTyping;
377 this.pause.curString = curString;
378 this.pause.curStrPos = curStrPos;
379 }
380
381 /**
382 * Toggle the blinking cursor

Callers 2

typewriteMethod · 0.95
backspaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected