mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3820] Added Library dialog component docs (#4061)
This commit is contained in:
committed by
Eugenio Romano
parent
95260a7ca7
commit
0b1cfcf8fe
@@ -54,12 +54,17 @@ for more information about installing and using the source code.
|
||||
| [Version manager component](version-manager.component.md)  | Displays the version history of a node with the ability to upload a new version. | [Source](../../lib/content-services/version-manager/version-manager.component.ts) |
|
||||
| [Webscript component](webscript.component.md) | Provides access to Webscript features. | [Source](../../lib/content-services/webscript/webscript.component.ts) |
|
||||
|
||||
## Dialogs
|
||||
|
||||
| Name | Description | Source link |
|
||||
| ---- | ----------- | ----------- |
|
||||
| [Library dialog](library.dialog.md) | Creates a new Content Services document library/site. | [Source](../../lib/content-services/dialogs/library/library.dialog.ts) |
|
||||
|
||||
## Directives
|
||||
|
||||
| Name | Description | Source link |
|
||||
| ---- | ----------- | ----------- |
|
||||
| [Content node share directive](content-node-share.directive.md) | Creates and manages public shared links for files. | [Source](../../lib/content-services/content-node-share/content-node-share.directive.ts) |
|
||||
| [Node download directive](node-download.directive.md) | Allows folders and/or files to be downloaded, with multiple nodes packed as a '.ZIP' archive. | [Source](../../lib/content-services/directives/node-download.directive.ts) |
|
||||
| [Node lock directive](node-lock.directive.md) | Locks a node. | [Source](../../lib/content-services/directives/node-lock.directive.ts) |
|
||||
| [Folder create directive](folder-create.directive.md) | Creates folders. | [Source](../../lib/content-services/folder-directive/folder-create.directive.ts) |
|
||||
| [Folder edit directive](folder-edit.directive.md) | Allows folders to be edited. | [Source](../../lib/content-services/folder-directive/folder-edit.directive.ts) |
|
||||
|
42
docs/content-services/library.dialog.md
Normal file
42
docs/content-services/library.dialog.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
Title: Library dialog component
|
||||
Added: v3.0.0
|
||||
Status: Active
|
||||
Last reviewed: 2018-12-07
|
||||
---
|
||||
|
||||
# [Library dialog component](../../lib/content-services/dialogs/library/library.dialog.ts "Defined in library.dialog.ts")
|
||||
|
||||
Creates a new Content Services document library/site.
|
||||
|
||||

|
||||
|
||||
## Basic Usage
|
||||
|
||||
```html
|
||||
<adf-library-dialog
|
||||
(success)="useLibraryDetails($event)"
|
||||
(error)="handleError()"
|
||||
>
|
||||
</adf-library-dialog>
|
||||
```
|
||||
|
||||
## Class members
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | ---- | ----------- |
|
||||
| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when an error occurs. |
|
||||
| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the new library is created successfully. The event parameter is a [SiteEntry](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/SiteEntry.md) object with the details of the newly-created library. |
|
||||
|
||||
## Details
|
||||
|
||||
This component lets the user create a new document library/site with the usual
|
||||
name, ID, description and access restrictions. See the
|
||||
[Sites](https://docs.alfresco.com/6.0/concepts/sites-intro.html)
|
||||
section of the Content Services documentation for more information.
|
||||
|
||||
## See also
|
||||
|
||||
- [Sites dropdown component](sites-dropdown.component.md)
|
Reference in New Issue
Block a user