我正在创建一个很长的 HTML 页面。我对添加一个目录很感兴趣,就像在有角度的材料中一样,但是我在任何地方都找不到任何关于它的文档。这是我正在寻找的目录类型:
Angular 目录( https://imgur.com/3VcXg18 )
我看过一些 npm 替代品,但我对这些不感兴趣。
angular 目录的代码如下:
<table-of-contents container=".mat-drawer-content" _nghost-lwx-c20="" class="ng-star-inserted">
<!---->
<div _ngcontent-lwx-c20="" class="docs-toc-container ng-star-inserted">
<div _ngcontent-lwx-c20="" class="docs-toc-heading">Contents</div>
<nav _ngcontent-lwx-c20="">
<!----><a _ngcontent-lwx-c20="" href="/components/datepicker/overview#connecting-a-datepicker-to-an-input"
class="docs-level-h3 docs-link ng-star-inserted"> Connecting a datepicker to an input </a><a
_ngcontent-lwx-c20="" href="/components/datepicker/overview#setting-the-calendar-starting-view"
class="docs-level-h3 docs-link ng-star-inserted"> Setting the calendar starting view </a><a
_ngcontent-lwx-c20=""
href="/components/datepicker/overview#watching-the-views-for-changes-on-selected-years-and-months"
class="docs-level-h4 docs-link ng-star-inserted"> Watching the views for changes on selected years and
months </a><a _ngcontent-lwx-c20="" href="/components/datepicker/overview#setting-the-selected-date"
class="docs-level-h3 docs-link ng-star-inserted"> Setting the selected date </a><a _ngcontent-lwx-c20=""
href="/components/datepicker/overview#changing-the-datepicker-colors"
class="docs-level-h3 …Run Code Online (Sandbox Code Playgroud) 编程语言:Scheme / DrRacket
我发现foldr和之间的用法没有区别apply
谁能解释他们的不同之处?据我所知,使用文件夹可以实现与应用相同的功能。谢谢!