Blame view

imports/modules/get-input-value.js 161 Bytes
f0c912bf1   tmcdeveloper   add method tests ...
1
2
  export const getInputValue = (component, ref, nested) => {
    const element = component.refs[ref];
7df77f0fa   tmcdeveloper   finish wiring up ...
3
    return nested ? element.refs.input.value : element.value;
f0c912bf1   tmcdeveloper   add method tests ...
4
  };