blob: 197e36e9a069a91796e8aef1334f1609f6eacde4 [file] [log] [blame]
"use strict";
define(['menu/prefix'], function (prefixClass) {
return {
/**
* Create prefix object for the hint helper menu.
*/
create : function (params) {
return Object.create(prefixClass).
upgradeTo(this)._init(params);
},
/**
* Override the prefix action.
*/
onclick : function () {
var m = this.menu();
var value = this.value();
var h = m.hint();
m.hide();
h.inputField().insert(value);
h.active = false;
}
};
});