官术网_书友最值得收藏!

The JavaScript and Web APIs

In addition to the WebAssembly Core Specification, there are two API specifications for interacting with WebAssembly modules: the WebAssembly JavaScript Interface (JavaScript API) and the WebAssembly Web API. In the previous sections, we covered pertinent aspects of the Core Specification to become familiar with the underlying technology. If you never read the Core Specification (or if you skipped the first few sections of this chapter), it wouldn't inhibit the use of WebAssembly in your application. That is not the case for the APIs, as they describe the methods and interface required to instantiate and interact with your compiled Wasm module. In this section, we will review the Web and JavaScript APIs and describe how to load and communicate with a Wasm module using JavaScript.

主站蜘蛛池模板: 正蓝旗| 昌邑市| 武宁县| 鄂托克旗| 大足县| 罗源县| 江北区| 额敏县| 祁东县| 长宁县| 万全县| 红安县| 镇原县| 通化市| 浦县| 金溪县| 米林县| 柯坪县| 中方县| 武安市| 郸城县| 莫力| 肥东县| 略阳县| 吐鲁番市| 平潭县| 台中市| 孟村| 都江堰市| 海原县| 阿合奇县| 长武县| 简阳市| 平乐县| 繁昌县| 宜兰县| 太湖县| 定远县| 尖扎县| 蓝山县| 广平县|