lowercase
مرشح AngularJS
مثال
اعرض النص بأحرف صغيرة:
<div ng-app="myApp" ng-controller="caseCtrl">
<h1>{{txt |
lowercase}}</h1>
</div>
<script>
var app = angular.module('myApp',
[]);
app.controller('caseCtrl', function($scope) {
$scope.txt = "Hello World!";
});
</script>
التعريف والاستخدام
يقوم lowercase
المرشح بتحويل السلسلة إلى أحرف صغيرة.
بناء الجملة
{{ string | lowercase }}
الصفحات ذات الصلة
دروس AngularJS: مرشحات Angular