This package has been deprecated

Author message:

This package has been deprecated. Please use the '@atlaskit' scoped packages instead. See https://atlaskit.atlassian.com for more information

ak-droplist-trigger
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

AtlasKit component registry Commitizen friendly semantic-release Report an issue Ask in our forum

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

Try it out

Interact with a live demo of the ak-droplist-trigger.

Installation

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:

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.

Check if someone has already asked the same question before.

Create a support ticket

Are you in trouble? Let us know!

/ak-droplist-trigger/

    Package Sidebar

    Install

    npm i ak-droplist-trigger

    Weekly Downloads

    792

    Version

    2.0.1

    License

    Apache-2.0

    Last publish

    Collaborators

    • atlassian-aui