All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.frontend.vaadin-dev-tools.theme-editor.components.component-resolver.d.ts Maven / Gradle / Ivy

/**
 * Resolves HTMLElement that should be considered instead of directly picked element.
 *
 * Used with overlays that have different HTMLElements visible than present in node tree.
 *
 * Resolvers cannot be added to component metadata as component metadata is dynamically imported after being picked.
 *
 * Using Polymer __dataHost property to get base Vaadin component.
 *
 * TODO: Refactor required after moving to Lit components
 */
declare class ComponentResolver {
    resolveElement(element: HTMLElement): HTMLElement;
}
declare class ComponentHighlightResolver {
    resolveElement(element: HTMLElement): HTMLElement;
}
export declare const componentResolver: ComponentResolver;
export declare const componentHighlightResolver: ComponentHighlightResolver;
export {};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy