Lines Matching refs:def
31 constructor(def) { argument
34 this.id = 'moaied__btn_'+def.name;
35 this.name = def.name;
36 this.outer = def.outer;
37 this.type = def?.type ?? '';
38 this.icon = def?.icon;
39 this.text = def?.text;
40 this.onClick = def.onClick;
41 this.classes = def?.classes;
42 this.states = def?.states;
43 this.tooltip = def?.tooltip;
44 this.tooltip_width = def?.tooltip_width;
45 this.tooltips = def?.tooltips;
46 this.cls_remove = def?.cls_remove;
47 this.default_mode = def?.default_mode;
52 … this.storage = new MoaiEditor.LocalStorage('btn_'+def.name, this.default_mode, mode_names);