Changed on:
4 July 2024
The Collapsible Text component takes a string and a maximum number of characters into its props. When the string exceeds the maximum number of characters the text is cut off. Then
`More`
Plugin Name | Core |
---|
The standard library of mystique components.
Initial changelog entry.
fc.mystique.collapsible.text
None
Name | Type | Required | Default | Description |
|
| Yes | The text to display | |
|
| Yes | The number of characters to display before cutting off the rest of the string. |
1{
2 "label": "",
3 "type": "component",
4 "options": {
5 "component": "fc.mystique.collapsible.text",
6 "props": {
7 "text": "{{node.product.name}} - {{node.ref}}",
8 "charCutoff": 10
9 }
10 }
11}
Language: json
n/a
n/a
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.