UNPKG

db-lgtv-focus-engine

Version:

the Best TV focus engine

17 lines (15 loc) 305 B
import Leaf from "../Leaf" class Input extends Leaf { constructor(engine, el) { super(engine, el) } focus() { Leaf.prototype.focus.call(this) this.el.focus() } blur() { Leaf.prototype.blur.call(this) this.el.blur() } } export default Input