diff --git a/src/components/list/list.scss b/src/components/list/list.scss index 036c97a032ca..035e11b988c9 100644 --- a/src/components/list/list.scss +++ b/src/components/list/list.scss @@ -138,7 +138,7 @@ md-list, md-nav-list { } - md-list-item { + md-list-item, a[md-list-item] { @include md-list-item-base( $md-list-font-size, $md-list-base-height, @@ -164,7 +164,7 @@ md-list[dense], md-nav-list[dense] { ); } - md-list-item { + md-list-item, a[md-list-item] { @include md-list-item-base( $md-dense-font-size, $md-dense-base-height, diff --git a/src/components/list/list.ts b/src/components/list/list.ts index a37899746b21..ccba49c9f4ff 100644 --- a/src/components/list/list.ts +++ b/src/components/list/list.ts @@ -19,7 +19,7 @@ export class MdLine {} export class MdListAvatar {} @Component({ - selector: 'md-list-item', + selector: 'md-list-item, a[md-list-item]', host: {'role': 'listitem'}, templateUrl: './components/list/list-item.html', encapsulation: ViewEncapsulation.None diff --git a/src/demo-app/demo-app.html b/src/demo-app/demo-app.html index 384f19d26891..8b6ba6d1d09a 100644 --- a/src/demo-app/demo-app.html +++ b/src/demo-app/demo-app.html @@ -1,20 +1,20 @@ - Button - Card - Progress Circle - Progress Bar - Portal - Overlay - Checkbox - Input - Toolbar - Radio - List - Live Announcer - Sidenav - Gestures + Button + Card + Progress Circle + Progress Bar + Portal + Overlay + Checkbox + Input + Toolbar + Radio + List + Live Announcer + Sidenav + Gestures diff --git a/src/demo-app/list/list-demo.html b/src/demo-app/list/list-demo.html index 3d74cf97c121..1a47f34c54f5 100644 --- a/src/demo-app/list/list-demo.html +++ b/src/demo-app/list/list-demo.html @@ -50,6 +50,11 @@

{{message.from}}

+ + + {{ link.name }} + +
@@ -85,5 +90,10 @@

{{message.from}}

+ + + {{ link.name }} + +
\ No newline at end of file