Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
dile-app-drawer
Advanced tools
This package has moved and is now available at @dile/dile-app-drawer. Please update your dependencies. This repository is no longer maintained.
Web component to create a simple animated menu, useful as app global menu. Based on LitElement
Go to DEMOS page.
npm i dile-app-drawer
<script type="module">
import 'dile-app-drawer/dile-app-drawer.js';
</script>
<dile-app-drawer>
<p><a href="#">Link 1</a></p>
<p><a href="#">Another link</a></p>
<p><a href="#">More information</a></p>
<p><a href="#">Contact us</a></p>
</dile-app-drawer>
This componen only has one property to set the state of the component between opened and closed.
The component also provides a set of useful methods to controls the component state programmatically.
There are some CSS custom properties to customize the style and the animation.
Custom property | Description | Default |
---|---|---|
--dile-app-drawer-content-height | Height of the menu | auto |
--dile-app-drawer-background-color | Background color menu layer | #ddd |
--dile-app-drawer-z-index | z-index menu layer | 10000 |
--dile-app-drawer-closed-top | Drawer content top position in closed state | 40vh |
--dile-app-drawer-closed-left | Drawer content left position in closed state | 0 |
FAQs
Webcomponent to create a app drawer menu, based on LitElement.
We found that dile-app-drawer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.