Skip to content

Spoiler text

@xngui/components/spoiler-text
@xngui/components/spoiler-text

Concealed text revealed on click, hover, or focus.

Preview

import { Component } from '@angular/core';
import { XSpoilerText } from '@xngui/components/spoiler-text';
 
@Component({
selector: 'app-example',
imports: [XSpoilerText],
templateUrl: './spoiler-text.component.html',
})
export class ExampleComponent {}

Events

Interact with the preview — events will appear here.