import { DaffTextSnippetComponent } from '@daffodil/design/text-snippet'
@Component()
class DaffTextSnippetComponent {
@ViewChild() contentRef: ElementRef<any>
@ViewChild() htmlRef: ElementRef<any>
@Input() condensed: boolean = true
@Input() html: string = ''
@Output() toggle: EventEmitter<boolean> = new EventEmitter()
toggleSnippet(): void
}
void
boolean
Default | true |
---|---|
Description | A property to track whether or not the component should render a condensed version of the content. |
string
Default | '' |
---|---|
Description |
EventEmitter<boolean>
Default | – |
---|---|
Description | An output event that can be used to track the state of the component externally. |