mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-26 19:47:30 +00:00
Initial state
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<a [router-link]="['/Album', { albumId: albumData.AlbumId }]">
|
||||
<img alt="{{ albumData.Title }}" src="{{ albumData.AlbumArtUrl }}">
|
||||
<h4>{{ albumData.Title }}</h4>
|
||||
</a>
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as ng from 'angular2/angular2';
|
||||
import * as router from 'angular2/router';
|
||||
import * as models from '../../../models/models';
|
||||
|
||||
@ng.Component({
|
||||
selector: 'album-tile',
|
||||
properties: ['albumData: albumdata']
|
||||
})
|
||||
@ng.View({
|
||||
templateUrl: './ng-app/components/public/album-tile/album-tile.html',
|
||||
directives: [router.ROUTER_DIRECTIVES]
|
||||
})
|
||||
export class AlbumTile {
|
||||
}
|
||||
Reference in New Issue
Block a user