Skip to content

Commit

Permalink
docs: removed outdated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin authored and mhevery committed Aug 13, 2015
1 parent 512340e commit da4bcd5
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions modules/angular2/src/core/annotations_impl/annotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,38 +473,14 @@ export class Directive extends InjectableMetadata {
* Whenever the `someExpression` expression changes, the `properties` declaration instructs
* Angular to update the `Tooltip`'s `text` property.
*
* ## Bindings With Pipes
* ### Bindings With Pipes
*
* You can also use pipes when writing binding definitions for a directive.
*
* For example, we could write a binding that updates the directive on structural changes, rather
* than on reference changes, as normally occurs in change detection.
*
* See {@link Pipe} and {@link KeyValueChanges} documentation for more details.
*
* ```
* @Directive({
* selector: '[class-set]',
* properties: [
* 'classChanges: classSet | keyValDiff'
* ]
* })
* class ClassSet {
* set classChanges(changes: KeyValueChanges) {
* // This will get called every time the `class-set` expressions changes its structure.
* }
* }
* ```
*
* The template that this directive is used in may also contain its own pipes. For example:
* You can use pipes in bindings, as follows:
*
* ```html
* <div [class-set]="someExpression | somePipe">
* ```
*
* In this case, the two pipes compose as if they were inlined: `someExpression | somePipe |
* keyValDiff`.
*
*/
properties: List<string>;

Expand Down

0 comments on commit da4bcd5

Please sign in to comment.