Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-basic-dropdown-hover

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-basic-dropdown-hover

Variation of ember-basic-dropdown that opens on hover

  • 0.6.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-23.9%
Maintainers
1
Weekly downloads
 
Created
Source

ember-basic-dropdown-hover

This is an addon for ember-basic-dropdown that implements a nicer API to open and close it on mouseEnter/mouseLeave.

Installation

  • ember install ember-basic-dropdown-hover

That's it, you don't need to have ember-basic-dropdown as a dependency too, although you can.

Usage

The API is identical to Ember Basic Dropdown except for the different component name. Example:

{{#basic-dropdown-hover as |dd|}}
  {{#dd.trigger}}Hover me{{/dd.trigger}}
  {{#dd.content}}
    <p>Hello world</p>
  {{/dd.content}}
{{/basic-dropdown-hover}}

Each component should accept the same options as Ember Basic Dropdown. If it doesn't, open an issue.

There is three options exclusive of this component that you can use:

  • delay The delay between the moment the mouse enters/exits the trigger/content. Defaults to 300ms
  • openDelay Delay for opening the dropdown. Default to delay
  • closeDelay Delay for closing the dropdown. Default to delay

Keywords

FAQs

Package last updated on 08 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc