Reference Source
import {Shell} from '@adobe/coral-spectrum'
public class | source

ShellUser

Expression Extends:

class ShellUser extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A Shell User component

See:

Example:

Markup
<coral-shell-user></coral-shell-user>
JS constructor
new Coral.Shell.User();

Static Member Summary

Static Public Members
public static

Returns ShellUser avatar options.

Member Summary

Public Members
public

Specifies the asset used inside the avatar view.

public

The main content zone of the user-menu.

public

The footer content zone of the user-menu.

public

The heading content zone of the user-menu.

public

The name content zone of the user-menu.

public

The subheading content zone of the user-menu.

Static Public Members

public static avatar: ShellUserAvatarEnum: * source

Returns ShellUser avatar options.

Public Members

public avatar: String source

Specifies the asset used inside the avatar view. See Icon for valid usage and icon names.

  • ShellUserAvatarEnum.DEFAULT by default.

public content: ShellUserContent source

The main content zone of the user-menu.

  • content-zone

The footer content zone of the user-menu.

  • content-zone

public heading: ShellUserHeading source

The heading content zone of the user-menu.

  • content-zone

public name: ShellUserName source

The name content zone of the user-menu.

  • content-zone

public subheading: ShellUserSubheading source

The subheading content zone of the user-menu.

  • content-zone