tns plugin add nativescript-reviews
click here to Download fontawesome-webfont.ttf or download from fontawesome website
- Place font icon
.ttf
file inapp/fonts
, like below:
app/fonts/fontawesome-webfont.ttf
<UI:Reviews reviews="{{ reviews }}" />
<!-- default -->
<UI:Reviews reviews="{{ reviews }}" />
<!-- reviews with custom date handler -->
<UI:Reviews dateHandler="arabicDateTime" title="With date handler" reviews="{{ reviews }}" scroll="false" />
<!-- reviews with custom plugin for caching -->
<UI:Reviews title="Image cache plugins " scroll="false" plugin="{{ plugin }}" imagetag="{{ imagetag }}" reviews="{{ reviewsWithWebImages }}" />
<!-- reviews with scroll inside -->
<UI:Reviews title="Scroll inside" scroll="true" reviews="{{ lotofreviews }}" />
let review = getViewById('review'); //you can do remote request or delay review.refresh(); // then refresh your values