mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
10 lines
258 B
JavaScript
10 lines
258 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
import {action} from '@ember/object';
|
||
|
|
||
|
export default class SearchModalComponent extends Component {
|
||
|
@action
|
||
|
focusFirstInput(mouseEvent) {
|
||
|
mouseEvent.target.querySelector('input')?.focus();
|
||
|
}
|
||
|
}
|