-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b95c6c0
commit 48fd6be
Showing
7 changed files
with
29 additions
and
26 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,22 +13,22 @@ Visit [https://patelka2211.github.io/dominar/](https://patelka2211.github.io/dom | |
## Installation | ||
|
||
[![npm (scoped)](https://img.shields.io/npm/v/@patelka2211/dominar)](https://www.npmjs.com/package/@patelka2211/dominar) | ||
[![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@patelka2211/dominar)](https://bundlephobia.com/package/@patelka2211/[email protected].1) | ||
[![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@patelka2211/dominar)](https://bundlephobia.com/package/@patelka2211/[email protected].2) | ||
[![npm](https://img.shields.io/npm/dy/@patelka2211/dominar)](https://www.npmjs.com/package/@patelka2211/dominar) | ||
[![jsDelivr hits (npm scoped)](https://img.shields.io/jsdelivr/gh/hy/patelka2211/dominar)](https://cdn.jsdelivr.net/gh/patelka2211/[email protected].1/) | ||
[![jsDelivr hits (npm scoped)](https://img.shields.io/jsdelivr/gh/hy/patelka2211/dominar)](https://cdn.jsdelivr.net/gh/patelka2211/[email protected].2/) | ||
|
||
To install Dominar using npm, run the following command: | ||
|
||
```sh | ||
npm i @patelka2211/dominar | ||
``` | ||
|
||
Alternatively, you can include [Dominar's IIFE file](https://cdn.jsdelivr.net/gh/patelka2211/[email protected].1/Dominar.js) in your website using a `<script>` tag: | ||
Alternatively, you can include [Dominar's IIFE file](https://cdn.jsdelivr.net/gh/patelka2211/[email protected].2/Dominar.js) in your website using a `<script>` tag: | ||
|
||
```html | ||
<script | ||
async | ||
src="https://cdn.jsdelivr.net/gh/patelka2211/[email protected].1/Dominar.js" | ||
src="https://cdn.jsdelivr.net/gh/patelka2211/[email protected].2/Dominar.js" | ||
></script> | ||
``` | ||
|
||
|
@@ -91,12 +91,12 @@ addEventListeners(document.body, { | |
|
||
### When included as a `<script>` tag in a website. | ||
|
||
If the script tag is not already included in the `<head>` tag, please add the following script tag to include [Dominar's IIFE JavaScript](https://cdn.jsdelivr.net/gh/patelka2211/[email protected].1/Dominar.js) file. | ||
If the script tag is not already included in the `<head>` tag, please add the following script tag to include [Dominar's IIFE JavaScript](https://cdn.jsdelivr.net/gh/patelka2211/[email protected].2/Dominar.js) file. | ||
|
||
```html | ||
<script | ||
async | ||
src="https://cdn.jsdelivr.net/gh/patelka2211/[email protected].1/Dominar.js" | ||
src="https://cdn.jsdelivr.net/gh/patelka2211/[email protected].2/Dominar.js" | ||
></script> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters