From 488e06edfed5f05c9166f85025ebcad7dcfce602 Mon Sep 17 00:00:00 2001 From: Adam LaCombe Date: Sun, 5 Aug 2018 20:24:39 -0400 Subject: [PATCH] update README --- README.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4549356..78f21a1 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ A helper function to easily modify Shadow DOM CSS. ```ts +import {injectStyles} from 'shadow-dom-inject-styles'; + const toolbar = (this.el.querySelector('ion-header > ion-toolbar') as HTMLElement); // language=CSS diff --git a/package.json b/package.json index b571c16..5ba9df4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shadow-dom-inject-styles", - "version": "1.0.0", + "version": "1.0.1", "description": "A helper function to easily modify shadow dom css.", "module": "./dist/index.js", "main": "./dist/index.js",