Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.38 KB

README.md

File metadata and controls

55 lines (46 loc) · 1.38 KB

adapt-drop

A dropdown extension to expand and shrink elements.

Installation

  • 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.

Usage

  • Select the buttons to expand and shrink elements.

Attributes

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