@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
48 lines (46 loc) • 1.91 kB
TypeScript
/// <reference types="../../index.d.ts" />
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
import { HeadingLevel } from '../functional/Heading';
import { IconNameOrString } from '../calcite-icon/interfaces';
export declare class NavigationLogo extends LitElement {
/**
* When `true`, the component is highlighted.
*
* @default false
*/
active: boolean;
/** A description for the component, which displays below the `heading`. */
description: string;
/** Specifies heading text for the component, such as a product or organization name. */
heading: string;
/** Specifies the heading level of the component's heading for proper document structure, without affecting visual styling. */
headingLevel: HeadingLevel;
/** Specifies the URL destination of the component, which can be set as an absolute or relative path. */
href: string;
/** Specifies an icon to display. */
icon: IconNameOrString;
/**
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
*
* @default false
*/
iconFlipRtl: boolean;
/** Describes the appearance or function of the `thumbnail`. If no label is provided, context will not be provided to assistive technologies. */
label: string;
/**
* Defines the relationship between the `href` value and the current document.
*
* @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
*/
rel: string;
/**
* Specifies where to open the linked document defined in the `href` property.
*
* @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
*/
target: string;
/** Specifies the `src` to an image. */
thumbnail: string;
/** Sets focus on the component. */
setFocus(): Promise<void>;
}