Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(component): clarify component usage #15100

Merged
merged 1 commit into from
Sep 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/content/guide/component.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Advantages of Components:

When not to use Components:

- for directives that rely on DOM manipulation, adding event listeners etc, because the compile
and link functions are unavailable
- for directives that need to perform actions in compile and pre-link functions, because they aren't available
- when you need advanced directive definition options like priority, terminal, multi-element
- when you want a directive that is triggered by an attribute or CSS class, rather than an element

Expand Down