mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-03 08:12:51 -06:00
Minibar: add show/hide functions
This commit is contained in:
@@ -57,6 +57,12 @@ function Minibar(server,opts) {
|
|||||||
menubar.appendChild(button("Help",bind(open_help,this)));
|
menubar.appendChild(button("Help",bind(open_help,this)));
|
||||||
append_extra_buttons(extra,options);
|
append_extra_buttons(extra,options);
|
||||||
}
|
}
|
||||||
|
this.hide = function() {
|
||||||
|
this.minibar.style.display="none";
|
||||||
|
}
|
||||||
|
this.show = function() {
|
||||||
|
this.minibar.style.display="block";
|
||||||
|
}
|
||||||
|
|
||||||
/* --- Minibar client state initialisation ------------------------------ */
|
/* --- Minibar client state initialisation ------------------------------ */
|
||||||
this.grammar=null;
|
this.grammar=null;
|
||||||
|
|||||||
Reference in New Issue
Block a user