@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
30 lines (28 loc) • 991 B
TypeScript
/// <reference types="../../index.d.ts" />
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
export declare class NavigationUser extends LitElement {
/**
* When `true`, the component is highlighted.
*
* @default false
*/
active: boolean;
/** Specifies the full name of the user. */
fullName: string;
/** Describes the appearance of the avatar. If no label is provided, context will not be provided to assistive technologies. */
label: string;
/**
* When `true`, hides the `fullName` and `username` contents.
*
* @default false
*/
textDisabled: boolean;
/** Specifies the `src` to an image (remember to add a token if the user is private). */
thumbnail: string;
/** Specifies the unique id of the user. */
userId: string;
/** Specifies the username of the user. */
username: string;
/** Sets focus on the component. */
setFocus(): Promise<void>;
}