Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/javascript/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 14 additions & 0 deletions docs/javascript/capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down