HTMLInputElement: capture プロパティ
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
capture は HTMLInputElement インターフェイスのプロパティで、 <input> 要素の capture 属性を反映します。 <input> の file 型の場合のみ関連するこのプロパティと属性は、新しいファイルをユーザー側 (user) または外部側 (environment) のカメラまたはマイクから取得するかどうかを指定します。ファイルの種類は、 accept 属性で定義します。 この属性が明示的に設定されていない場合、 capture プロパティは空文字列となります。