@advanced-rest-client/json-table
Version:
A table view from a JSON structure
43 lines (32 loc) • 855 B
TypeScript
import { LitElement, TemplateResult, CSSResult } from 'lit-element';
export class JsonTablePrimitiveTeaserElement extends LitElement {
get styles(): CSSResult;
render(): TemplateResult;
/**
* When set then the whole value will be visible.
* @attribute
*/
opened: boolean;
/**
* DOM change observer
*/
_observer: MutationObserver;
/**
* When set then the content overflows the max height area.
*/
_isOverflow: boolean;
/**
* Container's max height when closed.
* @attribute
*/
maxHeight: string;
readonly _wrapper: HTMLDivElement;
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
firstUpdated(): void;
_contentChanged(): void;
toggle(e: PointerEvent): void;
_computeToggleLabel(opened: boolean): string;
_maxHeightChanged(maxHeight?: string): void;
}