Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for textContent (0.09 sec)

  1. docs/en/docs/js/termynal.js

         */
        async type(line) {
            const chars = [...line.textContent];
            line.textContent = '';
            this.container.appendChild(line);
    
            for (let char of chars) {
                const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay;
                await this._wait(delay);
                line.textContent += char;
            }
        }
    
        /**
         * Animate a progress bar.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. docs/en/docs/js/custom.js

        let termynals = [];
    
        function createTermynals() {
            document
                .querySelectorAll(`.${termynalActivateClass} .highlight code`)
                .forEach(node => {
                    const text = node.textContent;
                    const lines = text.split("\n");
                    const useLines = [];
                    let buffer = [];
                    function saveBuffer() {
                        if (buffer.length) {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 02 20:44:50 UTC 2025
    - 5.4K bytes
    - Viewed (2)
Back to top