Durchsuchbare Dokumentation aufrufen | Zurück zur Dokumentationsübersicht
Navigation: Dokumentationen agorum core > agorum core für Entwickler > agorum core aguila
Das agorum.toolBar-Layout stellt seine Elemente (typischerweise Schaltflächen) in einer horizontalen oder vertikalen Toolbar dar.
keine
Verwenden Sie diesen Parameter nur innerhalb einer dieser Regionen:
keine
module.exports = {
type: 'agorum.border',
width: 600,
height: 400,
docked: {
top: {
type: 'agorum.toolBar',
items: [
{
type: 'agorum.button',
text: 't'
}
]
},
bottom: {
type: 'agorum.toolBar',
items: [
{
type: 'agorum.button',
text: 'b'
}
]
},
left: {
type: 'agorum.toolBar',
items: [
{
type: 'agorum.button',
text: 'l'
}
]
},
right: {
type: 'agorum.toolBar',
items: [
{
type: 'agorum.button',
text: 'r'
}
]
},
center: {
type: 'agorum.textArea',
text: 'center'
},
north: {
type: 'agorum.textArea',
text: 'north',
height: 100
},
south: {
type: 'agorum.textArea',
text: 'south',
height: 100
},
west: {
type: 'agorum.textArea',
text: 'west',
width: 100
},
east: {
type: 'agorum.textArea',
text: 'east',
width: 100
}
}
};