AngularDart 指令的完整列表是否记录在某处?我知道,鉴于 AngularDart 的快速发展,此列表可能会发生变化。
问问题
2218 次
1 回答
10
这是我发现的:
- 实现指令的类在angular.directive 库API 文档页面中列出。
- 事件指令列表可以在angular.directive/NgEventDirective类 Dartdoc 中找到。
以下是截至 2014 年 2 月 2日从源代码中提取的(非事件)指令列表:
[ng-attr-*] [ng-model][ng-required]
[ng-bind-html] [ng-model][pattern]
[ng-bind-template] [ng-model][required]
[ng-bind] [ng-multiple]
[ng-checked] [ng-non-bindable]
[ng-class-even] [ng-open]
[ng-class-odd] [ng-pluralize]
[ng-class] [ng-readonly]
[ng-cloak] [ng-repeat]
[ng-disabled] [ng-required]
[ng-form] [ng-selected]
[ng-hide] [ng-shallow-repeat]
[ng-href] [ng-show]
[ng-if] [ng-src]
[ng-include] [ng-srcset]
[ng-model] [ng-style]
[ng-model][maxlength] [ng-switch-default]
[ng-model][minlength] [ng-switch-when]
[ng-model][ng-maxlength] [ng-switch]
[ng-model][ng-minlength] [ng-unless]
[ng-model][ng-pattern]
这是事件指令列表:
[ng-abort] [ng-keyup]
[ng-beforecopy] [ng-load]
[ng-beforecut] [ng-mousedown]
[ng-beforepaste] [ng-mouseenter]
[ng-blur] [ng-mouseleave]
[ng-change] [ng-mousemove]
[ng-click] [ng-mouseout]
[ng-contextmenu] [ng-mouseover]
[ng-copy] [ng-mouseup]
[ng-cut] [ng-mousewheel]
[ng-doubleclick] [ng-paste]
[ng-drag] [ng-reset]
[ng-dragend] [ng-scroll]
[ng-dragenter] [ng-search]
[ng-dragleave] [ng-select]
[ng-dragover] [ng-selectstart]
[ng-dragstart] [ng-speechchange]
[ng-drop] [ng-submit]
[ng-error] [ng-toucheancel]
[ng-focus] [ng-touchend]
[ng-fullscreenchange] [ng-touchenter]
[ng-fullscreenerror] [ng-touchleave]
[ng-input] [ng-touchmove]
[ng-invalid] [ng-touchstart]
[ng-keydown] [ng-transitionend]
[ng-keypress]
我正在制定一个更好的列表,并会尽快发布。
于 2014-02-02T21:11:05.330 回答