15 lines
338 B
JavaScript
15 lines
338 B
JavaScript
import LinkUseCase from '../usecases/LinkUseCase';
|
|
|
|
export default class LinkController {
|
|
constructor() {
|
|
this.linkUseCase = new LinkUseCase();
|
|
}
|
|
|
|
openToTab(url, tabId) {
|
|
this.linkUseCase.openToTab(url, tabId);
|
|
}
|
|
|
|
openNewTab(url, openerId, background) {
|
|
this.linkUseCase.openNewTab(url, openerId, background);
|
|
}
|
|
}
|