import { KeyCodes } from './../models/constants' ; export class AccessibilityHelper { public static isEnterOrSpace ( event ) { return event . keyCode === KeyCodes . enter || event . keyCode === KeyCodes . space ; } }