mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
27 lines
477 B
Markdown
27 lines
477 B
Markdown
---
|
|
Added: v2.0.0
|
|
Status: Active
|
|
---
|
|
|
|
# Logout directive
|
|
|
|
Logs the user out when the decorated element is clicked.
|
|
|
|
## Basic Usage
|
|
|
|
```html
|
|
<button adf-logout>Logout</button>
|
|
```
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| -- | -- | -- | -- |
|
|
| redirectUri | `string` | 'login' | Uri to be redirect after the logout |
|
|
| enableRedirect | `boolean` | 'true' | enable/disable redirect after logout |
|
|
|
|
|
|
## See also
|
|
|
|
- [Login component](login.component.md)
|