17 lines
274 B
JavaScript
17 lines
274 B
JavaScript
import Component from "@ember/component";
|
|
export default Component.extend({
|
|
showInput: false,
|
|
|
|
click() {
|
|
this.onClick();
|
|
|
|
Ember.run.schedule("afterRender", () => {
|
|
$(this.element)
|
|
.find("input")
|
|
.focus();
|
|
});
|
|
|
|
return false;
|
|
}
|
|
});
|