EasyUI
Drawer
Override defaults with $.fn.dialog.defaults.
Dependencies
- Dialog
Usage
Create drawer from markup.
Create drawer using javascript.
Properties
The properties extend from dialog, below is the added properties for drawer.
| Name | Type | Description | Default |
|---|---|---|---|
| region | string | The region to display the drawer. Possible values are: 'west','east'. | east |
| closable | boolean | Defines if to show closable button. | false |
| modal | boolean | Defines if the drawer is a modal drawer. | true |
| collapsed | boolean | Defines if the drawer is collapsed. | true |
Methods
The methods extend from dialog, below is the added or overridden methods for drawer.
| Name | Parameter | Description |
|---|---|---|
| options | none | Return the options object. |
| expand | none | Expand the drawer. |
| collapse | none | Collapse the drawer. |
