MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / stringBasedInputType

Function stringBasedInputType

code/songhop/www/lib/angular/angular.js:19536–19540  ·  view source on GitHub ↗
(ctrl)

Source from the content-addressed store, hash-verified

19534};
19535
19536function stringBasedInputType(ctrl) {
19537 ctrl.$formatters.push(function(value) {
19538 return ctrl.$isEmpty(value) ? value : value.toString();
19539 });
19540}
19541
19542function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
19543 baseInputType(scope, element, attr, ctrl, $sniffer, $browser);

Callers 3

textInputTypeFunction · 0.70
urlInputTypeFunction · 0.70
emailInputTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected