public/admin/tool/componentlibrary/content/moodle/components/showmore.md
The show more component is used to show and hide content. It is useful for showing a preview of content and then allowing the user to expand it to see more.
The parameters for the template context are:
{{< mustache template="core/showmore" >}} { "collapsedcontent": "Hello...", "expandedcontent": "Hello Is it me you're looking for? I can see it in your eyes", "extraclasses": "rounded p-2 border", "buttonextraclasses": "fw-bold" } {{< /mustache >}}
{{< mustache template="tool_componentlibrary/examples/showmore/example" >}} { } {{< /mustache >}}