loadLines() — fastapi Function Reference
Architecture documentation for the loadLines() function in termynal.js from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD ee079ce8_1e97_8b63_3228_fd451f3ef3e0["loadLines()"] 000471a9_ef7a_d9dc_ef48_af16a8d6655c["Termynal"] ee079ce8_1e97_8b63_3228_fd451f3ef3e0 -->|defined in| 000471a9_ef7a_d9dc_ef48_af16a8d6655c 6b7d2aeb_22cc_6860_d344_4483dcb2feb2["constructor()"] 6b7d2aeb_22cc_6860_d344_4483dcb2feb2 -->|calls| ee079ce8_1e97_8b63_3228_fd451f3ef3e0 e9c71d30_bae4_a1b9_5a44_71a4debe1e61["generateFinish()"] ee079ce8_1e97_8b63_3228_fd451f3ef3e0 -->|calls| e9c71d30_bae4_a1b9_5a44_71a4debe1e61 3a23ab59_5309_03ee_a500_a744548a0496["generateRestart()"] ee079ce8_1e97_8b63_3228_fd451f3ef3e0 -->|calls| 3a23ab59_5309_03ee_a500_a744548a0496 style ee079ce8_1e97_8b63_3228_fd451f3ef3e0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
docs/en/docs/js/termynal.js lines 52–69
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
// moving as she/he scrolls
const finish = this.generateFinish()
finish.style.visibility = 'hidden'
this.container.appendChild(finish)
// Appends dynamically loaded lines to existing line elements.
this.lines = [...this.container.querySelectorAll(`[${this.pfx}]`)].concat(this.lineData);
for (let line of this.lines) {
line.style.visibility = 'hidden'
this.container.appendChild(line)
}
const restart = this.generateRestart()
restart.style.visibility = 'hidden'
this.container.appendChild(restart)
this.container.setAttribute('data-termynal', '');
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does loadLines() do?
loadLines() is a function in the fastapi codebase, defined in docs/en/docs/js/termynal.js.
Where is loadLines() defined?
loadLines() is defined in docs/en/docs/js/termynal.js at line 52.
What does loadLines() call?
loadLines() calls 2 function(s): generateFinish, generateRestart.
What calls loadLines()?
loadLines() is called by 1 function(s): constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free