Skip to content

Commit

Permalink
[zh-cn]: create the translation of MIDIInputMap introduction (mdn#25614)
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
T34-active and yin1999 authored Feb 13, 2025
1 parent 0f01a05 commit 7da1918
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions files/zh-cn/web/api/midiinputmap/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: MIDIInputMap
slug: Web/API/MIDIInputMap
l10n:
sourceCommit: 89c435da452257b944b403cc9e45036fcb22590e
---

{{APIRef("Web MIDI API")}}{{SecureContext_Header}}

[Web MIDI API](/zh-CN/docs/Web/API/Web_MIDI_API)**`MIDIInputMap`** 只读接口提供了当前可用的 MIDI 输入端口集合。

`MIDIInputMap` 实例是一个只读的[`Map` 对象](/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Map#类_map_浏览器_api),其中每个键是 MIDI 输入的 ID 字符串,关联的值是对应的 {{domxref("MIDIInput")}} 对象。

## 规范

{{Specifications}}

## 浏览器兼容性

{{Compat}}

0 comments on commit 7da1918

Please sign in to comment.