Socket
Socket
Sign inDemoInstall

@maggioli-design-system/mds-dropdown

Package Overview
Dependencies
3
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
548
increased by33.33%
Maintainers
2
Install size
16.9 MB
Created
Weekly downloads
 

Readme

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'
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

Last updated on 12 May 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc