mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-2065] created dialog component for content node selector * [ADF-2065] removing SiteModel from site dropdown to use SitePaging model of js-api * [ADF-2065] - removed site model and updated documentation * [ADF-2065] fixed test for site component * [ADF-2065] refactored content node selector and created content node selector dialog * [ADF-2065] fixed test on site-api service * [ADF-2065] added a new content node dialog service to centralise the logic for content node dialog * [ADF-2065] start adding test for node-actions service| * [ADF-2065] added test for node-actions service * [ADF-2065] added test for node action service * [ADF-2065] renamed components to keep backward compatibility * [ADF-2065] added input just for backward compatibility * [ADF-2065] added some changes for backward compatibility and updated documentation * [ADF-2065] updated documentation for content node selector
1.2 KiB
1.2 KiB
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>
Properties
Attribute | Type | Default | Description |
---|---|---|---|
hideMyFiles | boolean | false | Hide the "My Files" option added to the list by default |
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. |
placeholder | string | 'DROPDOWN.PLACEHOLDER_LABEL' | The placeholder text/the key from translation files for the placeholder text to be shown by default |
Events
Name | Returned Type | Description |
---|---|---|
change | SiteModel | emitted when user selects a site. When default option is selected an empty model is emitted |