img-comparison-slider
Advanced tools
Comparing version 1.1.1 to 2.0.0
@@ -5,3 +5,3 @@ 'use strict'; | ||
const __chunk_1 = require('./chunk-05d3cc2d.js'); | ||
const __chunk_1 = require('./chunk-ae524196.js'); | ||
@@ -8,0 +8,0 @@ const inBetween = (actual, min, max) => { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const __chunk_1 = require('./chunk-05d3cc2d.js'); | ||
const __chunk_1 = require('./chunk-ae524196.js'); | ||
@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, g as getElement } from './chunk-c80858ad.js'; | ||
import { r as registerInstance, h, g as getElement } from './chunk-5474dda1.js'; | ||
@@ -3,0 +3,0 @@ const inBetween = (actual, min, max) => { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, g as getElement } from './chunk-c80858ad.js'; | ||
import { r as registerInstance, h, g as getElement } from './chunk-5474dda1.js'; | ||
var inBetween = function (actual, min, max) { | ||
@@ -3,0 +3,0 @@ if (actual < min) { |
{ | ||
"name": "img-comparison-slider-loader", | ||
"name": "component-loader", | ||
"typings": "./index.d.ts", | ||
@@ -4,0 +4,0 @@ "module": "./index.mjs", |
{ | ||
"name": "img-comparison-slider-loader", | ||
"name": "component-loader", | ||
"typings": "./index.d.ts", | ||
@@ -4,0 +4,0 @@ "module": "./index.mjs", |
{ | ||
"name": "img-comparison-slider", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -15,3 +15,3 @@ # img-comparison-slider | ||
* 📱 Looks great on mobile devices | ||
* ⌨️ Keyboard support | ||
* ♿️ Keyboard support | ||
* ☁️ Easy to install | ||
@@ -25,4 +25,4 @@ * 🧩 Web component. Works with HTML, React, Angular, or Vue | ||
```html | ||
<script type="module" src="https://unpkg.com/img-comparison-slider@^1/dist/img-comparison-slider/img-comparison-slider.esm.js"></script> | ||
<script nomodule="" src="https://unpkg.com/img-comparison-slider@^1/dist/img-comparison-slider/img-comparison-slider.js"></script> | ||
<script type="module" src="https://unpkg.com/img-comparison-slider@latest/dist/component/component.esm.js"></script> | ||
<script nomodule="" src="https://unpkg.com/img-comparison-slider@latest/dist/component/component.js"></script> | ||
@@ -52,4 +52,4 @@ <img-comparison-slider> | ||
<img-comparison-slider> | ||
<img slot="before" src="before.jpg"> | ||
<img slot="after" src="after.jpg> | ||
<img slot="before" src="before.jpg" /> | ||
<img slot="after" src="after.jpg" /> | ||
</img-comparison-slider> | ||
@@ -56,0 +56,0 @@ ) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
846565