ngx-angular8-sweetalert2
Advanced tools
Comparing version 9.7.0 to 9.8.0
{ | ||
"name": "ngx-angular8-sweetalert2", | ||
"version": "9.7.0", | ||
"version": "9.8.0", | ||
"repository": "DenisGold/ngx-angular8-sweetalert2", | ||
@@ -5,0 +5,0 @@ "homepage": "https://sweetalert2.github.io/", |
@@ -46,3 +46,3 @@ <p align="center"> | ||
```sh | ||
npm install --save sweetalert2 | ||
npm install --save ngx-angular8-sweetalert2 | ||
``` | ||
@@ -62,3 +62,3 @@ | ||
```html | ||
<script src="sweetalert2/dist/sweetalert2.all.min.js"></script> | ||
<script src="ngx-angular8-sweetalert2/dist/sweetalert2.all.min.js"></script> | ||
@@ -80,6 +80,6 @@ <!-- Include a polyfill for ES6 Promises (optional) for IE11 --> | ||
// ES6 Modules or TypeScript | ||
import Swal from 'sweetalert2' | ||
import Swal from 'ngx-angular8-sweetalert2' | ||
// CommonJS | ||
const Swal = require('sweetalert2') | ||
const Swal = require('ngx-angular8-sweetalert2') | ||
``` | ||
@@ -90,6 +90,6 @@ | ||
```html | ||
<link rel="stylesheet" href="sweetalert2/dist/sweetalert2.css"> | ||
<link rel="stylesheet" href="ngx-angular8-sweetalert2/dist/sweetalert2.css"> | ||
<script type="module"> | ||
import Swal from 'sweetalert2/src/sweetalert2.js' | ||
import Swal from 'ngx-angular8-sweetalert2/src/sweetalert2.js' | ||
</script> | ||
@@ -101,5 +101,5 @@ ``` | ||
```js | ||
import Swal from 'sweetalert2/dist/sweetalert2.js' | ||
import Swal from 'ngx-angular8-sweetalert2/dist/sweetalert2.js' | ||
import 'sweetalert2/src/sweetalert2.scss' | ||
import 'ngx-angular8-sweetalert2/src/sweetalert2.scss' | ||
``` | ||
@@ -106,0 +106,0 @@ |
189694
75
2657