blob: 51d6fec6c5eb4aaa8ac32e786132053e3663a6f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import Operator from "../Operator";
import FocusPresenter from "../../presenters/FocusPresenter";
export default class FocusOperator implements Operator {
constructor(private readonly presenter: FocusPresenter) {}
async run(): Promise<void> {
this.presenter.focusFirstElement();
}
}
|