@kelvininc/ui-components
Version:
Kelvin UI Components
38 lines (37 loc) • 1.28 kB
TypeScript
/**
* @part title - Label title.
*/
export declare class KvInfoLabel {
private descriptionContainer;
private tooltipConfig;
private resizeSensor;
/** Define if the show more button needed to be visible */
enableShowMoreButton: boolean;
/** Define if the label content is completely visible */
isExpanded: boolean;
/** Store the current div content height */
currentDescriptionHeight: number;
/** (optional) Info label title */
labelTitle?: string;
/** (optional) Info label description */
description?: string;
/** (optional) Info label description height */
descriptionHeight?: number;
/** (optional) Info label description collapse text */
descriptionCollapsedText: string;
/** (optional) Info label description opened text */
descriptionOpenedText: string;
/** (optional) Info label copy value */
copyValue?: string;
/** (optional) Show text with a shadow */
showTextShadow: boolean;
/** The Host's element reference */
el: HTMLKvInfoLabelElement;
get showMoreButtonLabel(): string;
private loadDescriptionHeight;
private onShowMoreToggle;
private onClickCopyAction;
componentDidRender(): void;
disconnectedCallback(): void;
render(): any;
}