mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-3323] Moved source file parsing to main doc tool * [ADF-3323] Moved source info classes * [ADF-3323] Added doc YAML generator tool * [ADF-3323] Added doc YAML/JSON source paths to gitignore * [ADF-3323] Completed templates and template context code * [ADF-3323] Added source paths and updated type linker * [ADF-3323] Final fixes to templates and type linking * [ADF-3323] Fixed filter for private and protected methods * [ADF-3323] Content services docs after check and rebuild * [ADF-3323] Updated docbuild script in package.json
1.7 KiB
1.7 KiB
Added, Status, Last reviewed
Added | Status | Last reviewed |
---|---|---|
v2.0.0 | Active | 2018-03-13 |
Sites Dropdown component
Displays a dropdown menu to show and interact with the sites of the current user.
Basic Usage
<adf-sites-dropdown
(change)="getSiteContent($event)">
</adf-sites-dropdown>
Class members
Properties
Name | Type | Default value | Description |
---|---|---|---|
hideMyFiles | boolean |
false | Hide the "My Files" option. |
placeholder | string |
Text or a translation key to act as a placeholder. Default value is the key "DROPDOWN.PLACEHOLDER_LABEL". | |
relations | string |
Filter for the results of the sites query. Possible values are "members" and "containers". When "members" is used, the site list will be restricted to the sites that the user is a member of. | |
siteList | SitePaging |
null | A custom list of sites to be displayed by the dropdown. If no value is given, the sites of the current user are displayed by default. A list of objects only with properties 'title' and 'guid' is enough to be able to display the dropdown. |
value | string |
null | Id of the selected site |
Events
Name | Type | Description |
---|---|---|
change | EventEmitter < SiteEntry > |
Emitted when the user selects a site. When the default option is selected, an empty model is emitted. |