Dropdown Indicator

npm licensenpm downloadGitHub top languageGitHub issuesnpm version

A simple dropdown indicator

Can be used outside of the Enso ecosystem.

For live examples and demos, you may visit laravel-enso.com

Installation

Install the package:

yarn add @enso-ui/dropdown-indicator

Usage

Import the desired component(s):

import DropdownIndicator from '@enso-ui/dropdown-indicator';

This is the bulma styled component.

Example:

<dropdown-indicator class="is-small"
    :collapsed="!menu.expanded"
    v-if="menu.has_children"/>

Props

  • open - boolean, optional - if set to false, the control is rotated up so as to suggest the dropdown is open

Methods

  • toggle(), toggles the state of the indicator & emits a toggle event

Questions & Issues

For questions and support please use the issues functionality for this package's github repository.

Please make sure to search for existing issues before creating a new issue, and when opening a new issue, fill the required information in the issue template.

Issues not conforming to the guidelines may be closed immediately.

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

ISC

Last Updated: 3/16/2019, 6:50:45 AM