-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(esl-anchornav): fix ESLAnchornavRender signature
- Loading branch information
Showing
4 changed files
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
export type * from './core/esl-anchornav-types'; | ||
|
||
export * from './core/esl-anchornav'; | ||
export * from './core/esl-anchornav-sticked'; | ||
export * from './core/esl-anchor'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +0,0 @@ | ||
/** {@link ESLAnchornav} item renderer */ | ||
export type ESLAnchornavRender = (data: ESLAnchorData) => string | Element; | ||
|
||
/** {@link ESLAnchornav} anchor data interface */ | ||
export interface ESLAnchorData { | ||
id: string; | ||
title: string; | ||
index: number; // order number in the anchor list | ||
$anchor: HTMLElement; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters