Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for init (0.17 sec)

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

                || this.container.getAttribute(`${this.pfx}-cursor`) || '▋';
            this.lineData = this.lineDataToElements(options.lineData || []);
            this.loadLines()
            if (!options.noInit) this.init()
        }
    
        loadLines() {
            // Load all the lines and create the container so that the size is fixed
            // Otherwise it would be changing and the user viewport would be constantly
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  2. docs/en/docs/js/custom.js

        }
    
        function loadVisibleTermynals() {
            termynals = termynals.filter(termynal => {
                if (termynal.container.getBoundingClientRect().top - innerHeight <= 0) {
                    termynal.init();
                    return false;
                }
                return true;
            });
        }
        window.addEventListener("scroll", loadVisibleTermynals);
        createTermynals();
        loadVisibleTermynals();
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
Back to top