AngularJS စာရင်း
- 上一页 AngularJS Http
- 下一页 AngularJS အချက်အလက်
ng-repeat အမိန့် အကြောင်းအရာ ကို ပြထား ရန် သူ့အတွက် ရေးသားထား
အစီအစဉ် အချက်အလက် ကို ပြထား
အင်္ဂလိပ်JS ကို ပြထား ရန် မျဉ်းကြီး နည်းလမ်း
AngularJS အကျိုးသတ္တု
<div ng-app="myApp" ng-controller="customersCtrl">
{{ x.Country }} |
CSS အဆင်း ကို ပြထား
ပြုပြင်ထား ရန် ဘာသာစကား ပေါင်းစပ်ထား ရန် သင်္ကြပ်သင်း
CSS အဆင်း
<style> table, th , td { border: 1px solid grey; border-collapse: collapse; padding: 5px; } table tr:nth-child(odd) { background-color: #f1f1f1; } table tr:nth-child(even) { background-color: #ffffff; } </style>
orderBy စစ်ဆေးသည့် အကြောင်းအရာ ကို ပြထား
တူးပြီး အစီအစဉ် ကို ပြထား ရန် သင်္ကြပ်သင်း orderBy
စစ်ဆေးသည့် အကြောင်းအရာ:
AngularJS Example
{{ x.Country }} |
uppercase စစ်ဆေးသည့် အကြောင်းအရာ ကို ပြထား
အမြောက်အမြား ကို အကြီးအကျယ် ပြထား ရန် သင်္ကြပ်သင်း uppercase
စစ်ဆေးသည့် အကြောင်းအရာ:
AngularJS Example
အစီအစဉ် ($index) ကို ပြထား
တူးပြီး အစီအစဉ် ကို သင်္ကြပ်သင်း $index
အချက် <td>:
AngularJS Example
{{ x.Country }} |
使用 $even 和 $odd
AngularJS Example
{{ x.Name }} | {{ x.Name }} | {{ x.Country }} | {{ x.Country }} |
- 上一页 AngularJS Http
- 下一页 AngularJS အချက်အလက်