23 lines
444 B
JavaScript
23 lines
444 B
JavaScript
const names = {
|
|
base: {
|
|
key_down: 'key_down',
|
|
bindKey: 'bindKey',
|
|
unbindKey: 'unbindKey',
|
|
focus: 'focus',
|
|
min: 'min',
|
|
max: 'max',
|
|
close: 'close',
|
|
set_config: 'set_config',
|
|
set_hot_key_config: 'set_hot_key_config',
|
|
},
|
|
}
|
|
|
|
for (const item of Object.keys(names)) {
|
|
let name = names[item]
|
|
for (const key of Object.keys(name)) {
|
|
name[key] = `${item}_${name[key]}`
|
|
}
|
|
}
|
|
|
|
export const base = names.base
|