Javascript

JavaScriptの getUserMedia() を使用してフロントカメラとリアカメラにアクセスする方法 — step-by-step Javascript tutorial on Progressive Robot

JavaScriptの getUserMedia() を使用してフロントカメラとリアカメラにアクセスする方法

HTML5 では、MediaDevices API など、デバイスハードウェアにアクセスできる API を導入しています。この API により、オーディオやビデオなどのメディア入力デバイスへのアクセスができます。このチュートリアルでは、ユーザーのデバイスに搭載されたカメラからビデオフィードにアクセスする方法を説明します。

Read more
How To Use Namespaces in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Namespaces in TypeScript

In TypeScript, you can use namespaces to organize your code. Previously known as internal modules, namespaces in TypeScript are based on an early draft of ECMAScript modules. In this tutorial, you will create and use namespaces to illustrate the syntax and what they can be used for. It will lead you through code samples of declaring and merging namespaces, how namespaces work as JavaScript code under the hood, and how they can be used to declare types for external libraries without typing.

Read more
CHAT