Read more feature

0
I want to apply read more feature for multiple attributes. After getting the response from API I'll show a limited data and then user will click "read more" where it will show all the data.
asked
1 answers
0

You can use a non-persistent entity where you keep track whether the user has clicked on Read more or not in a boolean per attribute.

Clicking the Read more button would flip the boolean and update the NP entity. A Non-persistable would be appropriate as it's only needed in the UI and not on the server.

answered