UNPKG

@kontent-ai/smart-link

Version:

Kontent.ai Smart Link SDK allowing to automatically inject [smart links](https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-editing-from-preview#a-using-smart-links) to Kontent.ai according to manually specified [HTML data attri

14 lines (13 loc) 727 B
import { KSLCustomElement } from "./abstract/KSLCustomElement"; import type { IPositionable } from "./abstract/KSLPositionedElement"; import { KSLAddButtonElement } from "./KSLAddButtonElement"; import { KSLHighlightElement } from "./KSLHighlightElement"; export declare class KSLContainerElement extends KSLCustomElement implements IPositionable { static get is(): "ksl-container"; private _boundingClientRect; static initializeTemplate(): HTMLTemplateElement; getBoundingClientRect(shouldRecompute?: boolean): DOMRect; createHighlightForElement: (element: HTMLElement) => KSLHighlightElement; createAddButtonForElement: (element: HTMLElement) => KSLAddButtonElement; adjustPosition: () => void; }