mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
46063: truncation finished, still have to fix some existing tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user