mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-20 10:19:32 -06:00
Some work on minibar:
1. Menu for choosing target language. 2. Pass options when calling start_minibar. See about.html for more details.
This commit is contained in:
@@ -74,6 +74,12 @@ function button(label,action) {
|
||||
return el;
|
||||
}
|
||||
|
||||
function option(label,value) {
|
||||
var el=empty("option","value",value);
|
||||
el.innerHTML=label;
|
||||
return el;
|
||||
}
|
||||
|
||||
function appendChildren(el,cs) {
|
||||
for(var i=0;i<cs.length;i++)
|
||||
el.appendChild(cs[i]);
|
||||
|
||||
Reference in New Issue
Block a user