@kano/kbc-utils v2.2.4
kbc-utils
Utilities modules for boilerplate apps.
Usage
import { name_of_module } from '@kano/kbc-utils'Current Utils
Files
ExportFileUsed for exporting different app files e.g.
app.kcodeorapp.draw. Params include,appto be JSON.stringified to create a Blob,fileNamethe default file name including extension e.g.my-app.kcode, and an optional callbackcbfor once the export has finished.ImportFileUsed for importing different app files e.g.
app.kcodeorapp.draw. Params include a callbackcbwhich passes the imported file after it's loaded, and utilised in the mini app.CheckBrowserCompatibilityChecks if the browser Window has,
File,FileReader,FileListandBlobneeded to import and export. Params include success and fail callbacks.
Images
getBlobFromImageblobToDataURL
Tracking
By Component
| Component (location) | Function | Event / Error Name | Extra Info |
|---|---|---|---|
| images | GetBlobFromImage | Error name: fetch_blob_from_image | { stack: error in fetching blob from image, message: :error |
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago