Skip to content

Auto-fill table of contents (TOC) using HTML Slots.

Notifications You must be signed in to change notification settings

rpsthecoder/html-slot-toc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-fill table of contents (TOC) using HTML Slots.

This demo creates a table of contents (TOC) for a Web page, whose text is auto-generated and auto-updated. The standards used in the demo are Shadow DOM, HTML Slot, and HTML Template.

💁 The TOC layout is not auto-generated/updated, only its text.

Github Demo Page