Searched refs:CanvasKitInit (Results 1 – 25 of 26) sorted by relevance
12
1 import {CanvasKitInit as CKInit} from "canvaskit-wasm";6 declare const CanvasKitInit: typeof CKInit; constant9 const CK = await 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().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) => {
1 const CanvasKitInit = require('./bin/canvaskit.js'); constant7 CanvasKitInit({
1 import { CanvasKitInit } from "./node_modules/canvaskit-wasm/bin/canvaskit.js";3 const CK = await CanvasKitInit({
15 /// This calls `CanvasKitInit` and assigns the global [canvasKit] object.25 js.JsObject(js.context['CanvasKitInit'], <dynamic>[canvasKitInitArgs]);
6 const CanvasKitInit = require('../canvaskit/bin/canvaskit.js'); constant8 CanvasKitInit({
8 CanvasKitInit({
7 CanvasKitInit({locateFile: (file) => 'https://unpkg.com/canvaskit-wasm@0.25.0/bin/full/'+file});
103 - Deprecated `CanvasKitInit().then()` interface (see 0.3.1 notes)116 - `CanvasKitInit(...).then()` is no longer the recommended way to initialize things.117 It will be removed in 0.4.0. Use `CanvasKitInit(...).ready()`, which returns a real Promise.
5 CanvasKitInit({locateFile: (file) => 'https://unpkg.com/canvaskit-wasm@0.25.0/bin/full/'+file});
6 return CanvasKitInit({
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({
100 "-sEXPORT_NAME=CanvasKitInit",
530 - `CanvasKitInit(...)` now directly returns a Promise. As such, `CanvasKitInit(...).ready()`869 - Deprecated `CanvasKitInit().then()` interface (see 0.3.1 notes)882 - `CanvasKitInit(...).then()` is no longer the recommended way to initialize things.883 It will be removed in 0.4.0. Use `CanvasKitInit(...).ready()`, which returns a real Promise.
4 CanvasKitInit,26 CanvasKitInit({locateFile: (file: string) => '/node_modules/canvaskit/bin/' + file}).then((CK: Canv…
2 export function CanvasKitInit(opts: CanvasKitInitOptions): Promise<CanvasKit>; function
123 CanvasKitInit({