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

@maggioli-design-system/mds-dropdown

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maggioli-design-system/mds-dropdown

mds-dropdown is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.

  • 2.0.0
  • npm
  • Socket score

Version published
Weekly downloads
147
decreased by-45.35%
Maintainers
3
Weekly downloads
 
Created
Source

mds-dropdown

Properties

PropertyAttributeDescriptionTypeDefault
arrowarrowIf set, the component will have an arrow pointing to the caller.booleantrue
arrowPaddingarrow-paddingSets the distance between arrow and dropdown margins.2424
autoPlacementauto-placementIf set, the component will be placed automatically near it's caller.booleanfalse
backdropbackdropSpecifies if the component has a backdrop backgroundbooleanfalse
flipflipSpecifies the placement of the component if no space is available where it is placed.booleanfalse
offsetoffsetSets distance between the dropdown and the caller.2424
placementplacementSpecifies where the component should be placed relative to the caller."bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"'bottom'
shiftshiftIf set, the component will be kept inside the viewport.booleantrue
shiftPaddingshift-paddingSets a safe area distance between the dropdown and the viewport.2424
smoothsmoothIf set, the component will follow the caller smoothly, visible when the page scrolls.booleantrue
strategystrategySets the CSS position strategy of the component."absolute" | "fixed"'fixed'
target (required)targetSpecifies the id of the caller element.stringundefined
visiblevisibleSpecifies the visibility of the component.booleanfalse

Events

EventDescriptionType
closeDropdownEmits when a modal is closedCustomEvent<void>

Built with love @ Maggioli Informatica / R&D Department

FAQs

Package last updated on 22 Jun 2022

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