Typewriter
@xngui/components/typewriter@xngui/components/typewriterProgressively typed content with optional caret.
Preview
import { Component } from '@angular/core';
import { XTypewriter } from '@xngui/components/typewriter';
@Component({
selector: 'app-example',
imports: [XTypewriter],
templateUrl: './typewriter.component.html',
})
export class ExampleComponent {
protected onStarted(): void {
// started
}
protected onCompleted(): void {
// completed
}
}
Events
Interact with the preview — events will appear here.