
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@maggioli-design-system/mds-pref-language
Advanced tools
mds-pref-language is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
set | set | Specifies the language code based on HTML lang attribute A string representing the language version as defined in {@link https://datatracker.ietf.org/doc/html/rfc5646 RFC 5646: Tags for Identifying Languages (also known as BCP 47)}. Examples of valid language codes include "en", "en-US", "fr", "fr-FR", "es-ES", etc. Supported languages are Italiano, English, Español, ελληνικά | string | 'auto' |
Event | Description | Type |
---|---|---|
mdsPrefChange | Emits when the component is triggered | CustomEvent<MdsPrefChangeEventDetail> |
mdsPrefLanguageChange | Emits when the component changes the language selected from the click event of the dropdown list item | CustomEvent<MdsPrefLanguageEventDetail> |
updateLang() => Promise<void>
Type: Promise<void>
Slot | Description |
---|---|
"default" | Add mds-pref-language-item element/s. |
graph TD;
mds-pref-language --> mds-text
mds-pref-language --> mds-tab
mds-pref-language --> mds-tab-item
mds-pref-language --> mds-dropdown
mds-tab-item --> mds-button
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
style mds-pref-language fill:#f9f,stroke:#333,stroke-width:4px
Built with love @ Gruppo Maggioli from R&D Department
FAQs
mds-pref-language is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
We found that @maggioli-design-system/mds-pref-language demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.