electrum-arc
Advanced tools
Comparing version 1.13.6 to 1.13.7
@@ -39,6 +39,23 @@ 'use strict'; | ||
console.log(`onKeyDown: ${ state.generation } value=${ e.value }`); | ||
state.set(id, e.value); | ||
console.log(`onKeyDown: ${ id }, ${ state.generation } value=${ e.target.value }`); | ||
} | ||
}, { | ||
key: 'onKeyUp', | ||
value: function onKeyUp(e) { | ||
var _props2 = this.props; | ||
const id = _props2.id; | ||
const state = _props2.state; | ||
console.log(`onKeyUp: ${ id }, ${ state.generation } value=${ e.target.value }`); | ||
} | ||
}, { | ||
key: 'onChange', | ||
value: function onChange(e) { | ||
var _props3 = this.props; | ||
const id = _props3.id; | ||
const state = _props3.state; | ||
console.log(`onChange: ${ id }, ${ state.generation } value=${ e.target.value }`); | ||
} | ||
}, { | ||
key: 'render', | ||
@@ -45,0 +62,0 @@ value: function render() { |
{ | ||
"name": "electrum-arc", | ||
"version": "1.13.6", | ||
"version": "1.13.7", | ||
"description": "Agnostic Reactive Components for Electrum", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -15,6 +15,15 @@ 'use strict'; | ||
const {id, state} = this.props; | ||
console.log (`onKeyDown: ${state.generation} value=${e.value}`); | ||
state.set (id, e.value); | ||
console.log (`onKeyDown: ${id}, ${state.generation} value=${e.target.value}`); | ||
} | ||
onKeyUp (e) { | ||
const {id, state} = this.props; | ||
console.log (`onKeyUp: ${id}, ${state.generation} value=${e.target.value}`); | ||
} | ||
onChange (e) { | ||
const {id, state} = this.props; | ||
console.log (`onChange: ${id}, ${state.generation} value=${e.target.value}`); | ||
} | ||
render () { | ||
@@ -21,0 +30,0 @@ return ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56210
1108