Liking cljdoc? Tell your friends :D

wagoe.shared.ui.core.user-menu

Who is signed in, behind their avatar: name and email, extra links, the profile and signing out. The admin shell's topbar uses it; an app with its own layout puts it in its header and loads /css/user-menu.css.

Who is signed in, behind their avatar: name and email, extra links, the
profile and signing out. The admin shell's topbar uses it; an app with its
own layout puts it in its header and loads /css/user-menu.css.
raw docstring

avatarclj

(avatar user)

The user's picture, else their initials.

The user's picture, else their initials.
sourceraw docstring

initialsclj

(initials user)

One or two letters for the avatar: from the display name's words, else the email's local part.

One or two letters for the avatar: from the display name's words, else
the email's local part.
sourceraw docstring

user-menuclj

(user-menu user & [{:keys [items]}])

The menu for user. opts :items, links shown above the profile, each {:href :label :icon}.

The menu for `user`. `opts` :items, links shown above the profile, each
{:href :label :icon}.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close