@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
21 lines (20 loc) • 670 B
TypeScript
import { ESLMixinElement } from '../../esl-mixin-element/core';
/**
* ESLAnchor - custom mixin element for setting up anchor for {@link ESLAnchornav} attaching
*
* Use example:
* `<div esl-anchor id="my-anchor-id" title="My anchor title"></div>`
*/
export declare class ESLAnchor extends ESLMixinElement {
static is: string;
CHANGE_EVENT: string;
protected connectedCallback(): void;
protected disconnectedCallback(): void;
/** Sends a broadcast event to Anchornav components to refresh the list of anchors */
protected sendRequestEvent(): void;
}
declare global {
export interface ESLLibrary {
Anchor: typeof ESLAnchor;
}
}