Meteor 流星事件按键不工作
我正在尝试动态获取输入文本 模板:Meteor 流星事件按键不工作,meteor,meteor-blaze,Meteor,Meteor Blaze,我正在尝试动态获取输入文本 模板: <template name="search"> <div class="searchbox"> <input class="form-control input-lg search" type="text" placeholder="Search"> </div> </template> 但它只是不起作用(通过Firefox和Chrome测试)。 与keyup和keydown相同的是ḱ
<template name="search">
<div class="searchbox">
<input class="form-control input-lg search" type="text" placeholder="Search">
</div>
</template>
但它只是不起作用(通过Firefox和Chrome测试)。
与keyup和keydown相同的是
ḱeypress
intential?好的,这是按键上的提示。
Template.search.events({
'ḱeypress input' : function(event, template) {
console.log("BITE");
}
});