MCPcopy Create free account
hub / github.com/choosehappy/QuickAnnotator / stringBasedInputType

Function stringBasedInputType

static/js/angular.js:26456–26460  ·  view source on GitHub ↗
(ctrl)

Source from the content-addressed store, hash-verified

26454};
26455
26456function stringBasedInputType(ctrl) {
26457 ctrl.$formatters.push(function(value) {
26458 return ctrl.$isEmpty(value) ? value : value.toString();
26459 });
26460}
26461
26462function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
26463 baseInputType(scope, element, attr, ctrl, $sniffer, $browser);

Callers 3

textInputTypeFunction · 0.85
urlInputTypeFunction · 0.85
emailInputTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected