enforceBoundaries([enforce])

Class: InternalWindowContainer.

Description:

Prevents internal windows from being moved outside of visible area of window container. Otherwise windows can be move beyond the boundaries and scroll bars would appear to scroll to those windows.
This may not work on some systems yet.

Parameters:

Name Type Description

[enforce]

boolean

To enable border enforcement set true, to disable set `false.

Returns:

If setting, returns this component instance, otherwise returns boolean value.

Type: InternalWindowContainer | boolean