Search
ItemSettings.spacing Property
See Also
 






Gets or sets the amount of space between adjacent Item-s.

Namespace: MindFusion.Scheduling
File: ItemSettings.js

 Syntax

JavaScript  Copy Code

get spacing() {}

 Property Value

Number. The amount of space between adjacent items in pixels.

 Example

The following code uses the itemSettings property of a calendar, which is of type ItemSettings to specify the spacing of adjacent calendar items.

JavaScript  Copy Code
// set the height of item visuals
calendar.itemSettings.spacing = 5;

 See Also