如何找出删除键的rarkey值。如果我使用rarkey,那么我就不能使用任何其他键,因为它是"在rawkeyDown theKey"上的任何替代方法。
答案 0 :(得分:0)
如果您在rawKeyDown处理程序中捕获rawKey值,那么如果您希望引擎处理任何按键操作,则必须.container {
-webkit-animation: cardEnter 0.75s ease-in-out 0.5s;
animation: cardEnter 0.75s ease-in-out 0.5s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
display: block;
position: absolute;
height: auto;
bottom: 0;
top: 0;
left: 0;
right: 0;
max-width: 980px;
min-width: 300px;
margin-top: 75px;
margin-bottom: 20px;
margin-right: auto;
margin-left: auto;
background-color: #ffffff;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .06), 0 2px 5px 0 rgba(0, 0, 0, .2);
-webkit-box-shadow: rgba(0, 0, 0, 0.0588235) 0px 1px 1px 0px, rgba(0, 0, 0, 0.2) 0px 2px 5px 0px;
border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px;
min-height: 140px;
}
.left{
display: block;
position: absolute;
float: left;
width: 30%;
overflow: hidden;
padding: 0px;
bottom: 0;
top: 0;
left: 0;
background-color: #ffffff;
border-right: 1px solid #d8dbdf;
-webkit-border-top-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-bottomleft: 3px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
transition: opacity 2s, width 2s, left 2s, font-size 2s, color 2s;
}
.left-header {
-webkit-box-flex: 0;
-webkit-flex: none;
-ms-flex: none;
flex: none;
background-color: red;
color: #fff;
height: 108px;
position: relative;
}
.left-list {
z-index: 999 !important;
position: relative;
float: left;
width: 100%;
height: 100%;
overflow: hidden;
background-color: #ffffff;
opacity: 1;
-webkit-animation-duration: 0.9s;
animation-duration: 0.9s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-name: slideLeft;
animation-name: slideLeft;
-webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
background-color:red;
}
.list-layers {
position: absolute;
height: 100%;
overflow-y: scroll;
}
.layer {
float: left;
width: 100%;
padding: 10px;
background-color: #ffffff;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-bottom: 1px solid #f7f7f7;
}
该消息。您想要处理的任何关键消息都是这种情况(例如,rawKeyUp,keyDown,keyUp);如果你没有pass
该消息,那么它的正常功能将被抢占。
pass