vsavkin
5b5d31fa9a
feat(pipe): added the Pipe decorator and the pipe property to View
...
BREAKING CHANGE:
Instead of configuring pipes via a Pipes object, now you can configure them by providing the pipes property to the View decorator.
@Pipe({
name: 'double'
})
class DoublePipe {
transform(value, args) { return value * 2; }
}
@View({
template: '{{ 10 | double}}'
pipes: [DoublePipe]
})
class CustomComponent {}
Closes #3572
2015-08-12 00:38:40 +00:00
vsavkin
106a28b8dc
feat(refactor): replaced ObservablePipe and PromisePipe with AsyncPipe
2015-08-07 02:10:32 +00:00
vsavkin
392de4af67
feat(pipes): replaces iterable and key value diffing pipes with services
...
BREAKING CHANGE:
Directives that previously injected Pipes to get iterableDiff or keyvalueDiff, now should inject IterableDiffers and KeyValueDiffers.
2015-08-04 10:39:55 -07:00
Peter Bacon Darwin
2e4a2a0e5a
chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags
2015-07-11 07:21:46 +01:00
Pouria Alimirzaei
b716046b97
feat(pipes): add date pipe
...
Closes #2877
2015-07-09 15:00:14 -07:00
Pouria Alimirzaei
3143d188ae
feat(pipes): add number (decimal, percent, currency) pipes
2015-07-09 14:59:57 -07:00
Pouria Alimirzaei
0b50258814
feat(pipes): add limitTo pipe
2015-07-01 13:36:01 -07:00
Tobias Bosch
aec51d616b
refactor(ts'ify): ts’ify mocks, directives and test_lib
...
Also cleans up global types.
2015-05-21 15:33:37 -07:00