Update example
This commit is contained in:
parent
f773e2722b
commit
a7d4405d9a
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ progress bar is removed once the delivery is complete:
|
||||||
```typescript
|
```typescript
|
||||||
import postman, { item } from "postman";
|
import postman, { item } from "postman";
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
const progressBar = document.querySelector("progress")
|
const progressBar = document.querySelector("progress");
|
||||||
const span = document.querySelector(".percentage");
|
const span = document.querySelector(".percentage");
|
||||||
postman(
|
postman(
|
||||||
item.font("Kanit Regular", "url(/fonts/kanit-regular.ttf)"),
|
item.font("Kanit Regular", "url(/fonts/kanit-regular.ttf)"),
|
||||||
|
@ -56,8 +56,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||||
/* Replace progress bar */
|
/* Replace progress bar */
|
||||||
progressBar.remove();
|
progressBar.remove();
|
||||||
span.remove();
|
span.remove();
|
||||||
})
|
});
|
||||||
})
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
Loading…
Reference in a new issue