UNPKG

zombiebox

Version:

ZombieBox is a JavaScript framework for development of Smart TV and STB applications

31 lines (26 loc) 476 B
/* * This file is part of the ZombieBox package. * * Copyright © 2012-2019, Interfaced * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import Rect from '../geometry/rect'; /** * @interface */ export default class IFocusable { /** * @param {?Rect=} fromRect */ focus(fromRect) {} /** * Object looses focus */ blur() {} /** * @return {boolean} */ isFocused() {} }