diff --git a/docs/javascript/api.md b/docs/javascript/api.md index 8cfb963..efe5cc7 100644 --- a/docs/javascript/api.md +++ b/docs/javascript/api.md @@ -1377,6 +1377,7 @@ These are the ids of the components that can be customized: - [Search box](./capabilities#search-box) - [Bookmarks](./capabilities#bookmarks) - [Contribution button](./capabilities#contribution-button) +- [Login button](./capabilities#login-button) ### getCurrentContent diff --git a/docs/javascript/capabilities.md b/docs/javascript/capabilities.md index 4fe4f6c..c917881 100644 --- a/docs/javascript/capabilities.md +++ b/docs/javascript/capabilities.md @@ -407,6 +407,20 @@ Target that allows customizing the entire header of the application, which englo | Disable | No compatibility | | Changing text | No compatibility | +### Login button + +Target for the top bar's sign-in entry point, shown only to anonymous (not logged in) users. It has no effect on the avatar/profile menu shown to a connected user — that element cannot be disabled. + +#### Compatibility + +| | | +| ------------- | --------------------------------------------------------------------------------------------------- | +| Target ID | `login-button` | +| Description | Target for the login button displayed at the top bar for anonymous users. | +| Placements | No compatibility | +| Disable | Can be disabled. Only applies to anonymous users; a connected user's avatar/menu is never disabled. | +| Changing text | No compatibility | + ### Logo Target that allows customizing the surroundings of the site's [logo](https://docs.lumapps.com/docs/explore-l08263938963294604/explore-l10172021770563788).