### Basic Swap toggles classes on groups of elements based on configuration options and user interaction. It is up to the developer to utilize the classes. ```javascript $(".target").swap(); ``` ```markup
Toggle
Target
``` ### Groups Swaps can be grouped together for a simple accordions or tabs. ```markup

Grouped

Toggle - 1
Toggle - 2
Target - 1
Target - 2
``` ### Max Width Swaps will auto-enable and disable themselves if the `maxWidth` property is set. ```javascript $(".target").swap({ maxWidth: "740px" }); ``` ```markup
Toggle
Target
```