File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 1
1
# < ; date-time> ; element
2
2
3
- A custom element that displays date and time.
3
+ A custom element that displays a date and time.
4
4
5
5
## Installation
6
- Available on [ npm] ( https://www.npmjs.com/ ) as [ ** @github/custom-element -element ** ] ( https://www.npmjs.com/package/@github/custom-element -element ) .
6
+ Available on [ npm] ( https://www.npmjs.com/ ) as [ ** @architrixs/date-time -element ** ] ( https://www.npmjs.com/package/@architrixs/date-time -element ) .
7
7
```
8
- $ npm install --save @github/custom-element -element
8
+ $ npm install --save @architrixs/date-time -element
9
9
```
10
10
11
11
## Usage
@@ -15,22 +15,13 @@ $ npm install --save @github/custom-element-element
15
15
Import as ES modules:
16
16
17
17
``` js
18
- import ' @github/custom-element -element'
18
+ import ' @architrixs/date-time -element'
19
19
```
20
20
21
21
Include with a script tag:
22
22
23
23
``` html
24
- <script type =" module" src =" ./node_modules/@github/custom-element-element/dist/index.js" >
25
- ` ` `
26
-
27
- An example Custom Element. This documentation ends up in the
28
- README so describe how this elements works here.
29
-
30
- You can event add examples on the element is used with Markdown.
31
-
32
- ` ` `
33
- < custom- element>< / custom- element>
24
+ <script type =" module" src =" ./node_modules/@architrixs/date-time-element/dist/date-time.js" >
34
25
` ` `
35
26
36
27
## Browser support
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @architrixs/date-time-element" ,
3
- "version" : " 0.0.1 " ,
3
+ "version" : " 0.0.2 " ,
4
4
"description" : " A custom element that displays a date and time." ,
5
5
"main" : " dist/src/date-time.js" ,
6
6
"module" : " dist/src/date-time.js" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : 1.1 ,
3
+ "properties" : [],
4
+ "pseudoElements" : []
5
+ }
You can’t perform that action at this time.
0 commit comments