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

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.

主站蜘蛛池模板: 昭苏县| 津南区| 海原县| 达州市| 江都市| 永宁县| 疏勒县| 江门市| 柯坪县| 揭东县| 呼伦贝尔市| 双城市| 镇康县| 安仁县| 罗山县| 迭部县| 石楼县| 常州市| 石楼县| 鱼台县| 响水县| 鹤庆县| 台东市| 郑州市| 云南省| 葵青区| 承德市| 玉山县| 怀集县| 固始县| 米脂县| 明水县| 河北区| 射阳县| 宣化县| 手游| 逊克县| 林州市| 博罗县| 福安市| 正蓝旗|