forked from hazza/dspace-angular
97732 ContextHelpToggleComponent added
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ContextHelpService } from '../../shared/context-help.service';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-context-help-toggle',
|
||||
templateUrl: './context-help-toggle.component.html',
|
||||
styleUrls: ['./context-help-toggle.component.scss']
|
||||
})
|
||||
export class ContextHelpToggleComponent implements OnInit {
|
||||
|
||||
constructor(
|
||||
private contextHelpService: ContextHelpService
|
||||
) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
onClick() {
|
||||
console.log('toggling icons');
|
||||
this.contextHelpService.toggleIcons();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user