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

@swc-uxp-wrappers/asset

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc-uxp-wrappers/asset

UXP wrapper of the @spectrum-web-components/asset component

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
3
Weekly downloads
 
Created
Source

Description



This is UXP wrapper for `@spectrum-web-components/asset` package
  • For detailed README regarding @spectrum-web-components/asset refer this link

  • Detailed specification regarding @spectrum-web-components/asset support in UXP through @swc-uxp-wrappers/asset refer this link

Usage



yarn add @swc-uxp-wrappers/asset

Import the side effectful registration of <sp-asset> via:

import '@swc-uxp-wrappers/asset/sp-asset.js';

When looking to leverage the Asset base class as a type and/or for extension purposes, do so via:

import { Asset } from '@swc-uxp-wrappers/asset';

Example



<sp-asset></sp-asset>

Known Issues

  • For variant file or folder, one needs to explicitly set height and/or width in the plugin

Keywords

FAQs

Package last updated on 06 Jun 2024

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