Commit 151faada authored by bbaer's avatar bbaer

basic setup

parent 7db6d058
......@@ -19,11 +19,13 @@ var QfqNS = QfqNS || {};
n.DynamicSearch = function ($hook, api) {
this.$container = $hook;
this.$output = {};
};
n.DynamicSearch.prototype.display = function() {
var $input = this._generateInputField();
var $output = this._generateOutputField();
this.$output = $output;
this.$container
.append($input)
.append($output);
......@@ -50,6 +52,7 @@ var QfqNS = QfqNS || {};
n.DynamicSearch.prototype._handleKeyUp = function($field) {
if($field.val().length > 3) {
console.log("blupp");
this.$output.html($field.val());
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment