![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@dpa-id-components/dpa-id-appswitcher
Advanced tools
Package for the dpa id app switcher component
Web component of the DPA ID Appswitcher
To add the package to your project run
npm install @dpa-id-components/dpa-id-appswitcher
If you want to integrate it via a script tag add
<script type="module" src="https://unpkg.com/@dpa-id-components/dpa-id-appswitcher@1.1.0/dist/dpa-id-appswitcher/dpa-id-appswitcher.esm.js"></script>
<script nomodule src="https://unpkg.com/@dpa-id-components/dpa-id-appswitcher@1.1.0/dist/dpa-id-appswitcher/dpa-id-appswitcher.js"></script>
When the necessary JS is loaded you can simply add
<dpa-id-appswitcher></dpa-id-appswitcher>
to your code.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
arrowDistanceRight | arrow-distance-right | Distance of the arrow from the right border | string | '1rem' |
backgroundColor | background-color | Color of the background | string | '#fff' |
fontColor | font-color | Color of the font | string | 'rgb(33, 33, 33)' |
iconColor | icon-color | Color of the icon | string | 'rgb(33, 33, 33)' |
outerSize | outer-size | Inner size of the icon | number | 24 |
overlayRight | overlay-right | Distance of the overlay from the right border of the wrapper | string | '0' |
overlayTop | overlay-top | Distance of the overlay from the bottom border of the wrapper | string | '30px' |
stage | stage | Stage to fetch data from | string | 'www' |
FAQs
Package for the dpa id app switcher component
We found that @dpa-id-components/dpa-id-appswitcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.