new CustomSet()
CustomSet is a tool for creating a layout of other tools.
Example
let myLayout = {
"numCols":2,
"cells":[{"colspan":1,"rowspan":1,"xtype":"corpusterms"}, {"colspan":1,"rowspan":2,"xtype":"reader"}, {"colspan":1,"rowspan":1,"xtype":"topics"}]
};
let config = {
tableLayout: JSON.stringify(myLayout),
height: 800
}
loadCorpus("austen").tool("customset", config);
Members
-
height
-
Properties:
Name Type Description heightNumber The display height of the tool in pixels. -
layout
-
Properties:
Name Type Description layoutString A border layout string, of the format expected by Border layout
-
style
-
Properties:
Name Type Description styleString A string of CSS properties to use as the style attribute for the tool's parent tag. -
tableLayout
-
Properties:
Name Type Description tableLayoutString A table layout string, usually generated by the Skin Builder
-
width
-
Properties:
Name Type Description widthNumber The display width of the tool in pixels.