UNPKG

@ebay/ebayui-core

Version:

Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.

15 lines (14 loc) 372 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Switch { handleChange(originalEvent, target) { if (!this.input.disabled) { this.emit("change", { originalEvent, value: target.value, checked: target.checked, }); } } } module.exports = Switch;