jQWidgets jqxDocking collapseWindow() Method
Each window in the specified jqxDocking can do multiple tasks such as it can be dragged around the web page, docked into docking zones, removed from the docking, collapsed into a minimized state for hiding its content, and also can be expanded for displaying its content.
The collapseWindow() method is used for collapsing a specific window of the specified jqxDocking.
Parameters: This method accepts a parameter that is illustrated below.
- windowId: This is the id of a window that is going to be collapsed.
Return values: This method does not return any values.
Linked Files: Download jQWidgets from the given link. In the HTML file, locate the script files in the downloaded folder.
<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
Example: The below example illustrates the jQWidgets jqxDocking collapseWindow() Method. In the below example, a window of id “Second_Window” is being collapsed.