Displays a dropdown menu to show and interact with the sites of the current user.
<adf-sites-dropdown
(change)="getSiteContent($event)">
</adf-sites-dropdown>
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 |
Name | Type | Description |
---|---|---|
change | EventEmitter < SiteEntry > | Emitted when the user selects a site. When the default option is selected, an empty model is emitted. |
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.