an item that contains some text displayed in the item display area:
id | string|number | the text's id |
type | string | the "text" type |
isbig | string | defines whether the text is big, false by default |
text | string | the text item’s label |
myRibbon = new dhtmlXRibbon({
parent: "myRibbon",
icons_path: "../codebase/ribbon/",
items : [
{type:'block', text:'office document', list:[
{type : "group", list : [
{id : "text_1", type:"text", text:"Text 1"}
]},
{id : "text_2", type:"text", text:"Text 2"},
{id : "text_3", type:"text", text:"Text 3", isbig : true}
]}
]
});
Related sample: Init from object
Back to top