angular-docs-cn/public/docs/js/latest/api/index.jade

19 lines
1.1 KiB
Plaintext
Raw Normal View History

div(ng-cloak).banner
2015-10-15 17:16:35 -04:00
dl.api-key
dt Display:
dd.directive(ng-class='{ active: apiType === "directive" }' ng-click='setType("directive")') Directive
dd.class(ng-class='{ active: apiType === "class" }' ng-click='setType("class")') Class
dd.interface(ng-class='{ active: apiType === "interface" }' ng-click='setType("interface")') Interface
dd.function(ng-class='{ active: apiType === "function" }' ng-click='setType("function")') Function
dd.const(ng-class='{ active: apiType === "const" }' ng-click='setType("const")') Const or Enum
dd.var(ng-class='{ active: apiType === "var" }' ng-click='setType("var")') Variable
input.api-filter(placeholder='Filter', ng-model='apiFilter')
article(class="l-content-small grid-fluid docs-content")
div(ng-repeat='section in apiSections' ng-if="(apiList[section.name] | filter: { title: apiFilter, docType: apiType }).length" ng-cloak)
2015-10-15 17:16:35 -04:00
h3 {{ section.title }}
ul.api-list
li.api-item(ng-repeat='item in apiList[section.name] | filter: { title: apiFilter, docType: apiType }')
a(ng-href='{{ item.path }}')
2015-10-15 17:16:35 -04:00
span(class='symbol {{ item.docType }}')
| {{ item.title }}