# ak-droplist-trigger

> React component that is enabled by pressing 'space' or 'enter', or by clicking on it.

Latest version **2.0.1** (published 2017-01-18) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install ak-droplist-trigger
pnpm add ak-droplist-trigger
yarn add ak-droplist-trigger
bun add ak-droplist-trigger
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2017-01-18 |
| First published | 2016-12-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Atlassian Pty Ltd |
| Maintainers | atlassian-aui |
| Keywords | atlaskit, ui |

## Links

- npm: https://www.npmjs.com/package/ak-droplist-trigger
- Repository: https://bitbucket.org/atlassian/atlaskit
- Homepage: https://bitbucket.org/atlassian/atlaskit#readme
- npm.io page: https://npm.io/package/ak-droplist-trigger

## Dependencies (4)

- [keycode](https://npm.io/package/keycode.md) ^2.1.7
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.11.6
- [akutil-shared-styles](https://npm.io/package/akutil-shared-styles.md) ^37.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2017-01-18
- 2.0.0 — 2017-01-16
- 1.3.0 — 2017-01-11
- 1.2.10 — 2017-01-11
- 1.2.2 — 2017-01-03
- 1.2.1 — 2016-12-21
- 1.2.0 — 2016-12-20
- 1.1.0 — 2016-12-20
- 1.0.2 — 2016-12-14
- 1.0.1 — 2016-12-12
- 1.0.0 — 2016-12-05

## README

[![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://aui-cdn.atlassian.com/atlaskit/registry/)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://Commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/GitHub-semantic_release-ffab00.svg)](https://github.com/semantic-release/semantic-release)
[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](https://ecosystem.atlassian.net/browse/AK)
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-droplist-trigger,ak-droplist-trigger@2.0.1)

# Trigger

This is one of the building blocks of dropdowns and it gets activated by pressing "space" or "enter", or by clicking on it.

![Example trigger](https://bytebucket.org/atlassian/atlaskit/raw/29b67a9261bfd196ecbb323f5740823d44f8c305/packages/ak-droplist-trigger/docs/trigger.gif)
## Try it out

Interact with a [live demo of the ak-droplist-trigger](https://aui-cdn.atlassian.com/atlaskit/stories/ak-droplist-trigger/2.0.1/).

## Installation

```sh
npm install ak-droplist-trigger --save
```

## Using the component

### HTML

This package exports the ak-droplist-trigger React component.

Import the component in your React app as follows:

```js
import Trigger from 'ak-droplist-trigger';

const callback = () => {
  // all the action should be happening in this callback
}

ReactDOM.render(<Trigger onActivate={callback}>Some awesome text</Trigger>, container);
```



## Support and feedback

### We're here to help!

Let us know what you think of our components and docs, your feedback is really important for us.

### Community support

Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-droplist-trigger,ak-droplist-trigger@2.0.1).

Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit).


### Create a support ticket

Are you in trouble? [Let us know](https://ecosystem.atlassian.net/browse/AK)!

---
_Source: https://npm.io/package/ak-droplist-trigger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
