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

basic-fade-overflow

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-fade-overflow - npm Package Compare versions

Comparing version 0.7.6 to 0.8.0

6

package.json
{
"name": "basic-fade-overflow",
"version": "0.7.6",
"version": "0.8.0",
"description": "Fades out content that overflows so the user knows there's more.",

@@ -15,4 +15,4 @@ "homepage": "https://component.kitchen",

"dependencies": {
"basic-element-base": "^0.7.6",
"basic-component-mixins": "^0.7.6"
"basic-element-base": "^0.8.0",
"basic-component-mixins": "^0.8.0"
},

@@ -19,0 +19,0 @@ "browserify": {

# API Documentation
<a name="FadeOverflow"></a>
## FadeOverflow ⇐ <code>ElementBase</code>

@@ -25,3 +24,2 @@ Fades out content that overflows so the user knows there's more.

<a name="FadeOverflow+fadeColor"></a>
### fadeOverflow.fadeColor

@@ -39,3 +37,2 @@ The color of the fade.

<a name="FadeOverflow+refresh"></a>
### fadeOverflow.refresh()

@@ -48,3 +45,2 @@ Infer the fade color from background color. If you have programmatically

<a name="FadeOverflow+showFade"></a>
### fadeOverflow.showFade : <code>boolean</code>

@@ -51,0 +47,0 @@ True if the component should show the fade to the background color.

@@ -0,4 +1,9 @@

import createSymbol from '../../basic-component-mixins/src/createSymbol';
import ElementBase from '../../basic-element-base/src/ElementBase';
// Symbols for private data members on an element.
const fadeColorSymbol = createSymbol('fadeColor');
/**

@@ -43,6 +48,6 @@ * Fades out content that overflows so the user knows there's more.

get fadeColor() {
return this._fadeColor;
return this[fadeColorSymbol];
}
set fadeColor(value) {
this._fadeColor = value;
this[fadeColorSymbol] = value;
if (value) {

@@ -49,0 +54,0 @@ let rgb = extractRgbValues(value);

Sorry, the diff of this file is too big to display

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