Releases: herudi/vjs
Releases · herudi/vjs
0.0.7
New
- Add
Event API
.
const evt = new EventTarget();
evt.addEventListener("hello", (evt) => {
console.log(evt);
});
setTimeout(() => {
evt.dispatchEvent(new Event("hello"))
}, 2000);
// using CustomEvent
evt.addEventListener("custom", (evt) => {
console.log(evt.detail.text());
});
setTimeout(() => {
evt.dispatchEvent(new CustomEvent("custom", { detail: { text: () => "Hello From Event" } }))
}, 2000);
0.0.6
0.0.5
New
- Add Fetch API
const res = await fetch("http://example.com");
console.log(await res.text());
List Web Platform APIs
- Console
- setTimeout,
clearTimeout - setInterval,
clearInterval - btoa,
atob - URL
- URLSearchParams
- URLPattern
- Encoding API
- Crypto API
- SubtleCrypto
- digest
- encrypt
- decrypt
- sign
- verify
- Streams API
- FormData
- Blob
- File
- Performance
- Navigator
- Fetch API
0.0.4
Add more Web Platform APIs.
- Console
- setTimeout,
clearTimeout - setInterval,
clearInterval - btoa,
atob - URL
- URLSearchParams
- URLPattern
- Encoding API
- Crypto API
- SubtleCrypto
- Streams API
- FormData
- Blob
- File
- Performance
- Navigator
Future
- Fetch API
- Headers
- Request
- Response
- SubtleCrypto
- encrypt
- decrypt
- sign
- verify