From 72d9c23ac63b2e3e629c9ebc4afe1101fb43fe5b Mon Sep 17 00:00:00 2001 From: Murray Lisook Date: Thu, 31 Aug 2017 10:07:05 -0600 Subject: [PATCH] add version info to readme --- README.md | 9 +++++++++ bower.json | 3 ++- demo/index.html | 1 - 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7973218..af9b973 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,15 @@ the flow, viewport changes, etc. This element detects the size changes without This custom control uses code from [procurios/ResizeSensor](https://github.com/procurios/ResizeSensor) modified to work with Polymer in both Shadow and Shady DOM. +## Install +For Polymer 2.0 projects, install the 2.0 native, class based version: + +`bower install --save resize-aware` + +For Polymer 1.x projects, install the hybrid version: + +`bower install --save resize-aware#^1.9.1` + ## How to Use ```html diff --git a/bower.json b/bower.json index 183c647..091372a 100644 --- a/bower.json +++ b/bower.json @@ -2,6 +2,7 @@ "name": "resize-aware", "description": "Container element that is aware of and notifies of changes to its size", "main": "resize-aware.html", + "version": "2.0.0", "keywords": [ "polymer", "container", @@ -13,7 +14,7 @@ "web-components" ], "dependencies": { - "polymer": "Polymer/polymer#^2.0.0" + "polymer": "Polymer/polymer#^2.0.2" }, "demo": "demo/index.html", "license": "MIT", diff --git a/demo/index.html b/demo/index.html index 46235b0..7d3be34 100644 --- a/demo/index.html +++ b/demo/index.html @@ -19,7 +19,6 @@
-

Basic resize-aware demo

Basic resize-aware Demo