Installation

Ember-basic-dropdown is distributed as an Ember CLI addon, so the only thing you need to do to install it is run the following command in your ember project directory

    
      $ ember install ember-basic-dropdown
    
  

If you use just vanilla CSS, you're good to go. Ember-basic-dropdown will add the default styles to your vendor css file.

However, if you are using SASS or LESS won't load any style by default. Instead you need add an import statement to your styles explicitly.

@import "ember-basic-dropdown";

The styles of the addon are very minimal and deal mostly with positioning. You can tweak a couple things but we'll get to that later.

Now let's learn the API of the component.