Extends
- React.Component
Members
defaultProps :Object
The default properties.
Type:
- Object
- Source:
propTypes :Object
The properties.
Type:
- Object
- Source:
Methods
calculateBodyHeight() → {string}
Calculates the height of the Panel body and returns a valid css height expression.
- Source:
Returns:
- Type
- string
calculateHeight() → {number}
Calculates the height of the Panel and returns a number.
- Source:
Returns:
- Type
- number
onResize(evt, direction, el)
Function called while resizing.
Parameters:
Name | Type | Description |
---|---|---|
evt |
MouseEvent | TouchEvent | The MouseEvent event. |
direction |
String | A string discribing where the element was grabed. |
el |
HTMLElement | The element which gets resized. |
- Source:
onResizeStart()
Function called when resizing is started.
- Source:
onResizeStop()
Function called when resizing is stopped.
- Source:
render()
The render function.
- Source:
toggleCollapse()
Toggles the collapse state of the panel.
- Source: