46063: truncation finished, still have to fix some existing tests

This commit is contained in:
Lotte Hofstede
2018-02-05 11:32:26 +01:00
parent 58a26c03cc
commit 5f76bba050
21 changed files with 826 additions and 58 deletions

View File

@@ -2,11 +2,14 @@ import {
Component, Input
} from '@angular/core';
import { TruncatableService } from './truncatable.service';
import { Observable } from 'rxjs/Observable';
import { cardExpand } from '../animations/card-expand';
@Component({
selector: 'ds-truncatable',
templateUrl: './truncatable.component.html',
styleUrls: ['./truncatable.component.scss']
styleUrls: ['./truncatable.component.scss'],
})
export class TruncatableComponent {
@Input() initialExpand = false;
@@ -39,4 +42,5 @@ export class TruncatableComponent {
public toggle() {
this.service.toggle(this.id);
}
}