TYBOATLE 65“ Convertible Futon Sofa Bed w/ 2 USB, Upholstered Tufted Small Adjustable Folding Couch Loveseat, Modern Mid Century Sleeper Sofa for Living Room, Bedroom, Apartment, Office (Dark Grey)

(3 评论)

所售:
内部产品

价钱:
$94.99 /pc

Color:
数量:
(69993 可用)

总价:
退款:
分享:

Product Description

/** * Common event handler for click and keydown events. * @param {Event} event - The event object. * @param {Function} handleClickOrEnter - Function to handle click or Enter key events. * @param {Function} handleEsc - Function to handle Esc key events. */ // [TODO][AplusMantle-8064] Create common event handler util(key events, click events) in AplusModuleResources function handleClickAndKeyEvents(event, handleClickOrEnterOrSpace) { const ENTER_KEY_CODE = 13; const ESCAPE_KEY_CODE = 27; const SPACE_KEY_CODE = 32; const isClick = event.type === 'click'; const isKeydown = event.type === 'keydown'; const isEnter = isKeydown && event.keyCode === ENTER_KEY_CODE; const isSpace = isKeydown && event.keyCode === SPACE_KEY_CODE; const isEsc = isKeydown && event.keyCode === ESCAPE_KEY_CODE; if (isClick || isEnter || isSpace) { handleClickOrEnterOrSpace(); } else if (isEsc) { handleEsc(event); } } /** * Function to handle esc key event. * @param {Event} event - The event object. */ function handleEsc(event) { event.target.blur()// force remove focus }

TYBOATLE USB SOFA BED

When you lie on the TYBOATLE brand sofa bed to play with your phone, you can do so without worrying about your phone running out of battery.

相关产品

Product Queries (0)

登录 or Registerto submit your questions to seller

NULL

还没有人问卖家