MCPcopy Create free account
hub / github.com/aosabook/500lines / stringBasedInputType

Function stringBasedInputType

spreadsheet/code/lib/angular.js:19243–19247  ·  view source on GitHub ↗
(ctrl)

Source from the content-addressed store, hash-verified

19241}
19242
19243function stringBasedInputType(ctrl) {
19244 ctrl.$formatters.push(function(value) {
19245 return ctrl.$isEmpty(value) ? value : value.toString();
19246 });
19247}
19248
19249function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
19250 baseInputType(scope, element, attr, ctrl, $sniffer, $browser);

Callers 3

textInputTypeFunction · 0.85
urlInputTypeFunction · 0.85
emailInputTypeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected