Searched refs:CanvasKitInit (Results 1 – 23 of 23) sorted by relevance
11 CanvasKitInit({20 CanvasKitInit({27 const CanvasKitInit = require('/node_modules/canvaskit-wasm/bin/canvaskit.js');28 CanvasKitInit({43 const CanvasKitInit = require('canvaskit-wasm/bin/canvaskit.js')44 CanvasKitInit().ready().then((CanvasKit) => {
1 const CanvasKitInit = require('./bin/canvaskit.js'); constant5 CanvasKitInit({
11 CanvasKitInit({20 CanvasKitInit({27 const CanvasKitInit = require('/node_modules/canvaskit-wasm/bin/canvaskit.js');28 CanvasKitInit({43 const CanvasKitInit = require('canvaskit-wasm/bin/canvaskit.js')44 CanvasKitInit().then((CanvasKit) => {
8 CanvasKitInit({
7 CanvasKitInit({locateFile: (file) => 'https://unpkg.com/canvaskit-wasm@0.25.0/bin/full/'+file});
35 - `CanvasKitInit(...).then()` is no longer the recommended way to initialize things.36 It will be removed in 0.4.0. Use `CanvasKitInit(...).ready()`, which returns a real Promise.
6 const CanvasKitInit = require('../canvaskit/bin/canvaskit.js'); constant8 CanvasKitInit({
5 CanvasKitInit({locateFile: (file) => 'https://unpkg.com/canvaskit-wasm@0.25.0/bin/full/'+file});
9 return CanvasKitInit({
24 const ckLoaded = CanvasKitInit({49 const ckLoaded = CanvasKitInit({86 const ckLoaded = CanvasKitInit({90 are loading the canvaskit helper js and wasm binary respectively. CanvasKitInit accepts a function
96 CanvasKitInit({
142 const ckLoaded = CanvasKitInit({
12 CanvasKitInit({
423 - `CanvasKitInit(...)` now directly returns a Promise. As such, `CanvasKitInit(...).ready()`762 - Deprecated `CanvasKitInit().then()` interface (see 0.3.1 notes)775 - `CanvasKitInit(...).then()` is no longer the recommended way to initialize things.776 It will be removed in 0.4.0. Use `CanvasKitInit(...).ready()`, which returns a real Promise.
113 CanvasKitInit({
4 CanvasKitInit,26 CanvasKitInit({locateFile: (file: string) => '/node_modules/canvaskit/bin/' + file}).then((CK: Canv…
2 export function CanvasKitInit(opts: CanvasKitInitOptions): Promise<CanvasKit>; function