Adding context menu to the Avatar


Last updated
Was this helpful?
Was this helpful?
[
{ id: 'userName', title: {{user.email}}, icon: 'account_box_material' },
{ id: 'logout', title: 'Sign Out', icon: 'exit_to_app_material' },
]<style>
.avatar-menu {
cursor: pointer;
}
.avatar-context-menu {
margin-top: -36px;
}
</style>{{ui.avatarContextMenu.toggle()}}