Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <StackLayout *tabItem="{title: 'Messages'}" >
- <GridLayout rows="auto, *">
- <FAB (tap)="fabTap()"
- icon="res://ic_create_white"
- rippleColor="#f1f1f1"
- class="fab-button"
- row="1"></FAB>
- <PullToRefresh (refresh)="refreshMessagePage($event)">
- <StackLayout>
- <ListView row="1" [items]="messagesList | async" separatorColor="transparent">
- <template let-item="item" [ngIf]="messagesList.length>0">
- <CardView margin="10">
- <StackLayout>
- <Label text="De : {{item.sender}}" textWrap="true" [class.boldFont]="true" [class.renderTextMsg]= "true"></Label>
- <Label text="Objet : {{item.objet}}" [class.renderTextMsg]= "true" textWrap="true"></Label>
- <HtmlView html="{{item.contenu}}" [class.renderTextMsg]= "true"></HtmlView>
- </StackLayout>
- </CardView>
- </template>
- </ListView>
- </StackLayout>
- </PullToRefresh>
- </GridLayout>
- </StackLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement