@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
25 lines (24 loc) • 980 B
TypeScript
import { VNode } from "../../stencil-public-runtime";
import { LoadableComponent } from "../../utils/loadable";
export declare class CalciteNavigationUser implements LoadableComponent {
el: HTMLCalciteNavigationUserElement;
/** When true, the component is highlighted.*/
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.*/
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>;
componentWillLoad(): void;
componentDidLoad(): void;
render(): VNode;
}