Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@spectrum-web-components/color-loupe

Package Overview
Dependencies
1
Maintainers
7
Versions
84
Issues
File Explorer

Advanced tools

@spectrum-web-components/color-loupe

An `<sp-color-loupe>` shows the output color that would otherwise be covered by a cursor, stylus, or finger during color selection.

    0.4.7latest
    GitHub

Version published
Maintainers
7
Weekly downloads
1,729
increased by209.86%

Weekly downloads

Readme

Source

Description

An <sp-color-loupe> shows the output color that would otherwise be covered by a cursor, stylus, or finger during color selection.

Usage

See it on NPM! How big is this package in your project? Try it on webcomponents.dev

yarn add @spectrum-web-components/color-loupe

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

import '@spectrum-web-components/color-loupe/sp-color-loupe.js';

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

import { ColorLoupe } from '@spectrum-web-components/color-loupe';

Example

<div style="padding: 100px 0 0;"> <div style="position:relative"> <sp-color-loupe open="" dir="ltr"></sp-color-loupe> </div> </div>

Keywords

FAQs

Last updated on 22 Mar 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • 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