UNPKG

@arcgis/coding-components

Version:

Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.

39 lines (37 loc) 1.12 kB
/// <reference types="../../index.d.ts" /> import { PropertyValues } from 'lit'; import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina'; import { ApiCategory, ApiItem } from '@arcgis/languages-api-utils'; /** @private */ export declare class ArcgisLanguageApiPanel extends LitElement { /** * The language the panel is rendering * * @default "arcade" */ languageId: string; /** The api library to display */ apiLibrary: ApiCategory[] | undefined; /** * Should the documentation action be hidden * * @default false */ hideDocumentationActions: boolean; /** * When true, a busy indicator is displayed * * @default false */ loading: boolean; /** * When true, the component will be hidden. * * @default false */ closed?: boolean | undefined; /** Raised when the close action has been requested */ readonly arcgisClose: TargetedEvent<this, void>; /** Raised when an item has been selected */ readonly arcgisItemSelected: TargetedEvent<this, string>; }