Description
The toggle panes directiveUsage
as attributeDirective info
- This directive creates new scope.
Parameters
| Param | Type | Details |
|---|---|---|
| duration (optional) | string | Duration of the animation. Default 0.3 (seconds) |
| easing (optional) | string | CSS timing function i.e. ease-out |
| closed (optional) | boolean | Starts the slidable element off as open |
| height (optional) | Number | Set the height of the opened panel. Useful if the content is dynamically loaded. |
| response (optional) | Object | Wait for a response before calculating the height and check for updates |
Example
Source
Result
