Skip to content
ExamplesOpen editor ↗

tlisaBlob

→ loadBlob()

Loads a Blob.

tlisaBlob(URL, [faGoSiame], [faGoPalelwa])

Returns a Promise; use letela inside a function. External URLs are allowed without an endpoint allowlist or proxy. Browser CORS, mixed-content and credential rules still apply. JSON object keys remain unchanged. Resolves to a native Blob, suitable for browser file and object-URL APIs.

NameTypeDescription
URL`mokwaloRequest`
faGoSiame (optional)tiroSuccess callback. Its return becomes the Promise value.
faGoPalelwa (optional)tiroError callback; returning recovers the Promise, throwing rejects it.
Loads a Blob.
tiro setaLoeto() {
  tlosaKanefase();
  diri d = letela tlisaBlob("data:text/plain,Dumela");
  bopaTemana(letela d.text());
}

bopaTemana, dirisaMoGo