KeyPressAction interface
模型想要執行的按鍵集合。
- Extends
屬性詳細資料
keys
模型要求按下的按鍵組合。 這是字串陣列,每個字串都代表索引鍵。
keys: string[]
屬性值
string[]
type
指定事件類型。 對於 keypress 動作,這個屬性一律會設定為 keypress。
type: "keypress"
屬性值
"keypress"
模型想要執行的按鍵集合。
模型要求按下的按鍵組合。 這是字串陣列,每個字串都代表索引鍵。
keys: string[]
string[]
指定事件類型。 對於 keypress 動作,這個屬性一律會設定為 keypress。
type: "keypress"
"keypress"