blob: 79c7b7d79e5b91e2264782c2a2bc23edaf438853 [file] [log] [blame]
"use strict";
define(['menu/lengthField', 'util'], function (lengthFieldClass) {
return {
/**
* Create lengthField object for the hint helper menu.
*/
create : function () {
return Object.create(lengthFieldClass).
upgradeTo(this)._init();
},
/**
* Override the prefix action.
*/
add : function (param) {
this._element.addE('span').addT(param[0] + '--');
var desc = this._element.addE('span');
desc.classList.add("desc");
desc.addT(param[2] + '--');
this._element.appendChild(desc);
}
};
});