Created
January 28, 2018 21:06
-
-
Save NickBranstein/ac2b102ad96c5477021edc4dcf61ac50 to your computer and use it in GitHub Desktop.
Reusable Card Component with NativeScript and Angular
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ng-template let-item="item"> | |
| <card [title]="item.name" [subtitle]="'This is a subtitle...'"> | |
| <Label [nsRouterLink]="['/item', item.id]" [text]="item.name"></Label> | |
| <Label textWrap="true" text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, | |
| sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | |
| Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi | |
| ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit | |
| in voluptate velit esse cillum dolore eu fugiat nulla pariatur."> | |
| </Label> | |
| </card> | |
| </ng-template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment