Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / inputs / TextBox / handlers / handleBlur.js
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const exotic_1 = require("exotic");
/**
 * @extends TextBoxComponent @bound
 */


function handleBlur(event, props, state) {
  const {
    onBlur,
    onFormValidation
  } = props; // @todo @fixme should not need to pass in

  state.updateFocused(event, this);

  if (exotic_1.isFunction(onBlur)) {
    onBlur(state);
  }

  if (exotic_1.isFunction(onFormValidation)) {
    onFormValidation(state, props);
  }
}

exports.handleBlur = handleBlur; //# sourceMappingURL=handleBlur.js.map