We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf6a362 commit c12879fCopy full SHA for c12879f
README.md
@@ -10,10 +10,23 @@ $ npm install @github/details-menu-element
10
11
## Usage
12
13
+### Script
14
+
15
+Import as ES modules:
16
17
```js
18
import '@github/details-menu-element'
19
```
20
21
+With a script tag:
22
23
+```html
24
+<script type="module" src="./node_modules/@github/details-menu-element/dist/index.js">
25
+```
26
27
+### Markup
28
29
30
```html
31
<details>
32
<summary>Robots</summary>
0 commit comments