Skip to main content
Version: 4.1

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]
}));

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub