update README

This commit is contained in:
Adam LaCombe
2018-08-05 20:24:39 -04:00
parent 92dc264feb
commit 488e06edfe
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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",