Example 1 creates a naked jsPanel with defaults only:
$.jsPanel();
Example 2 creates a jsPanel with positioning, title and bootstrap theme:
$.jsPanel({ position: { left: 200, top: 100 }, title: 'jsPanel bootstrap theme info', bootstrap: 'info' });
Example 3 creates a jsPanel with a header toolbar:
Example 4 creates a jsPanel within .testcontainer
and restricts dragging to within .testcontainer
:
$.jsPanel({ selector: '.testcontainer', bootstrap: 'success', position: 'center', draggable: { containment: "parent" } });