Skip to content

appending new lines #18

@NestorHernandezA

Description

@NestorHernandezA

Heya, am trying to append new lines to termynal after initializing, but am only able to restart the whole animation with new lines.

Am using angular, and the js api:

// Looks like this
ngOnInit() {
  this.termynal = new Termynal('#termynal', { ...defaultOptions , lineData });
  this.termynal.init();
  // So far so good...

}

newLogginngInfo(){
// Now i need to be able to append new lines, witouth removing previous lines/ restarting
//Tried few things already, mixing lineData with manually adding lines on the html file with a loop
}

Will digg around myself for a bit, but if have any suggestions, i would appriciate it... 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions