mirror of
https://gitee.com/shuto-github/Shadow-DOM-inject-styles.git
synced 2026-02-09 00:00:06 +08:00
update README
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user