All Downloads are FREE. Search and download functionalities are using the official Maven repository.

widgets.pbInput.pbInput.ctrl.js Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version
function PbInputCtrl($scope, $log, widgetNameFactory) {

  'use strict';

  this.name = widgetNameFactory.getName('pbInput');
  this.inputId = widgetNameFactory.getId('pbInput');
  this.ngModelOptions = { allowInvalid: true, debounce: $scope.properties.debounce }

  if (!$scope.properties.isBound('value')) {
    $log.error('the pbInput property named "value" need to be bound to a variable');
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy