blob: 32989bc1307bd36fe6d14c1f6565b0c43fb21c35 [file] [log] [blame]
Akron88d237e2020-10-21 08:05:18 +02001"use strict";
2
Akrone4961b12017-05-10 21:04:46 +02003define(['menu/prefix'], function (prefixClass) {
4 return {
5
6 /**
7 * Create prefix object for the hint helper menu.
8 */
9 create : function (params) {
10 return Object.create(prefixClass).
11 upgradeTo(this)._init(params);
12 },
13
Akron88d237e2020-10-21 08:05:18 +020014
Akrone4961b12017-05-10 21:04:46 +020015 /**
16 * Override the prefix action.
17 */
18 onclick : function (e) {
19 var m = this.menu();
20 var value = this.value();
21 m.release(value, "string");
22 }
23 };
24});