basic-fade-overflow
Advanced tools
Comparing version 0.7.6 to 0.8.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
187933
2086
48
+ Addedbasic-component-mixins@0.8.0(transitive)
+ Addedbasic-element-base@0.8.0(transitive)
- Removedbasic-component-mixins@0.7.6(transitive)
- Removedbasic-element-base@0.7.6(transitive)
Updatedbasic-element-base@^0.8.0