@haxtheweb/parallax-image
Advanced tools
Comparing version 9.0.6 to 9.0.7
@@ -19,3 +19,3 @@ { | ||
}, | ||
"version": "9.0.6", | ||
"version": "9.0.7", | ||
"description": "Automated conversion of parallax-image/", | ||
@@ -45,12 +45,12 @@ "repository": { | ||
"dependencies": { | ||
"@haxtheweb/schema-behaviors": "^9.0.6", | ||
"@haxtheweb/schema-behaviors": "^9.0.7", | ||
"lit": "^3.2.0" | ||
}, | ||
"devDependencies": { | ||
"@haxtheweb/deduping-fix": "^9.0.6", | ||
"@haxtheweb/storybook-utilities": "^9.0.6", | ||
"@haxtheweb/deduping-fix": "^9.0.7", | ||
"@haxtheweb/storybook-utilities": "^9.0.7", | ||
"@open-wc/testing": "4.0.0", | ||
"@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
"@polymer/iron-demo-helpers": "3.1.0", | ||
"@web/dev-server": "0.4.2", | ||
"@web/dev-server": "0.4.6", | ||
"@webcomponents/webcomponentsjs": "^2.8.0", | ||
@@ -71,3 +71,3 @@ "concurrently": "8.2.2", | ||
], | ||
"gitHead": "04cae22f40424464d43057349cde27f55cb32ca1" | ||
"gitHead": "f594e7d20e2b7a815d085b12b1e0c8adc3504293" | ||
} |
@@ -12,31 +12,14 @@ # <parallax-image> | ||
import '@haxtheweb/parallax-image.js'; | ||
/* At top of an application */ | ||
<script type="module" src="parallax-image.js"></script> | ||
/* Alternatives for top of application */ | ||
<script type="module"> | ||
import '@haxtheweb/parallax-image.js'; | ||
import {ParallaxImage} from '@haxtheweb/parallax-image'; | ||
</script> | ||
``` | ||
## Develop / Demo | ||
Run `yarn start` will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the `/src` directory for changes and automatically rebuilding the element and documentation site for the demo. | ||
Run `npm start` will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the `/src` directory for changes and automatically rebuilding the element and documentation site for the demo. | ||
```bash | ||
$ yarn start | ||
$ npm start | ||
``` | ||
## Test | ||
```bash | ||
$ yarn run test | ||
``` | ||
## Build | ||
Builds ensure that wcfactory can correctly compile your web component project to | ||
work on the maximum number of browsers possible. | ||
```bash | ||
$ yarn run build | ||
``` | ||
## Contributing | ||
@@ -43,0 +26,0 @@ |
40571
15
634
42