我想在React中的div上使用keyDown事件。我做: componentWillMount() { document.addEventListener("keydown", this.onKeyPressed.bind(this)) ...
確定! 回上一頁