Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -27,6 +27,9 @@ import {easeOut, linear} from '../easing.js';
|
||||
* by a keyboard event not a button element event.
|
||||
* Although interactions do not have a DOM element, some of them do render
|
||||
* vectors and so are visible on the screen.
|
||||
*
|
||||
* @template {string} EventTypes
|
||||
* @extends BaseObject<EventTypes|'change:active'>
|
||||
* @api
|
||||
*/
|
||||
class Interaction extends BaseObject {
|
||||
|
||||
Reference in New Issue
Block a user