Record shapes
JointJS+ provides additional standard.Record
shapes. They are part of a standard
shapes set.
Here is the example of record shapes in action:
RecordScrollbar element tool
The RecordScrollbar
element tool renders a scrollbar thumb on a standard.Record
shape. The scrollbar is not visible if the record's size is large enough to show all items.
Example
record1.setScrollTop(0);
const scrollbar = new elementTools.RecordScrollbar({ width: 8 });
record1.findView(paper).addTools(new dia.ToolsView({
tools: [scrollbar]
}));