# TextExcerpt

# Props

Name Type Description
text required String
limit required Number

# Data

Name Type Description Initial value
isCollapsed BinaryExpression this.limit <= this.text.length
onlyTruncateWords boolean true
loaded boolean false

# Computed Properties

Name Description
truncatedText Dependencies: isCollapsed, truncateText, text

# Methods

# toggleCollapse()

Syntax

toggleCollapse(): void
1

# truncateText()

Syntax

truncateText(text: unknow): void
1