A dropdown extension to expand and shrink elements.
- Add the example JSON to elements you wish to shrink. Drop can be used on any element: course, content object, article, block or component.
- Copy the extension folder into the src > extensions directory and run an appropriate Grunt task.
- Select the buttons to expand and shrink elements.
Attribute | Type | Description | Default |
---|---|---|---|
_isEnabled |
Boolean | Add a dropdown button to expand and shrink the element | false |
_classes |
String | Custom classes to add to the container | "" |
title |
String | Button text | "" |
ariaLabel |
String | Button label for assistive technologies | "" |
Framework versions: 5.20+
Author / maintainer: CGKineo
Accessibility support: WAI AA
RTL support: Yes
Cross-platform coverage: Chrome, Chrome for Android, Firefox (ESR + latest version), Edge, Safari 12+13 for macOS/iOS/iPadOS, Opera