Liking cljdoc? Tell your friends :D
ClojureScript only.

threeagent.assets.impl.zip


load-zip!cljs

(load-zip! database zip-url asset-tree {:keys [base-path]})

Loads assets from a zip file into the asset database.

Options: :base-path - Path prefix inside the zip to strip (e.g. "assets" if zip contains assets/models/foo.glb)

Returns a Promise that resolves when all assets are loaded.

Loads assets from a zip file into the asset database.

Options:
  :base-path - Path prefix inside the zip to strip (e.g. "assets" if zip contains assets/models/foo.glb)

Returns a Promise that resolves when all assets are loaded.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close