[AAE-8565] multiple use viewer in form (#7594)

* multiple use viewer

multiple use in the form of viewer needs multiple instance of ViewUtilService

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts
This commit is contained in:
Eugenio Romano
2022-04-22 16:26:30 +01:00
committed by GitHub
parent 6174f8e100
commit abd540325f
2 changed files with 58 additions and 3 deletions

View File

@@ -50,7 +50,8 @@ import { FileModel } from '../../models';
templateUrl: './viewer.component.html',
styleUrls: ['./viewer.component.scss'],
host: { class: 'adf-viewer' },
encapsulation: ViewEncapsulation.None
encapsulation: ViewEncapsulation.None,
providers: [ViewUtilService]
})
export class ViewerComponent implements OnChanges, OnInit, OnDestroy {