Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2015-12-18 ng-conf 精彩视频 Dave Smith - Deep Dive into Custom Directives #43

Open
hjzheng opened this issue Dec 18, 2015 · 0 comments

Comments

@hjzheng
Copy link
Owner

hjzheng commented Dec 18, 2015

PPT: http://slides.com/djsmith/deep-dive-into-custom-directives#/
Youtube: https://www.youtube.com/watch?v=UMkd0nYmLzY&index=3&list=PLw5h0DiJ-9PB-vLe3vaNFLG-cTw0Wo7fw

指令是 Angular 1.x 让人最喜欢的几个特性之一,同时也是让人最讨厌的特性之一,之所以指令让人喜欢,因为其易于被重用和使用,之所以讨厌它,是因为概念和配置过于复杂。

所以推荐大家观看 Dave Smith 的《Deep Dive into Custom Directives》,相信你会有不一样的收获。

关于作者PPT最后一页问题:

- Multiple directives on the same element
- How directives drive scope creation
- transclude:'element'
- Element directives for standard attributes e.g., "placeholder"

答案

  • 参见我在segmentfault上的回答
  • ?
@hjzheng hjzheng changed the title ng-conf 精彩视频 Dave Smith - Deep Dive into Custom Directives 2015-12-18 ng-conf 精彩视频 Dave Smith - Deep Dive into Custom Directives Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant