You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/list/README.md
+1-16Lines changed: 1 addition & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,19 +135,4 @@ Output:
135
135
### Lists with secondary text
136
136
Secondary text styling will be part of a broader typography module to
137
137
[come later](https://github.com/angular/material2/issues/205), and won’t be implemented as part of this component
138
-
specifically. Gray text in the examples above comes from a "demo-2" class added manually by the demo.
139
-
140
-
### Lists with `*ngIf`
141
-
142
-
If you'd like to use `*ngIf` on one of your list item lines, make sure to use `<template [ngIf]>` syntax rather than
143
-
the `*ngIf` shortcut (see example below). There is currently an [issue in the main Angular repo](https://github.com/angular/angular/issues/6303)
144
-
that will project the line into the wrong content container if the shortcut is used.
145
-
146
-
```html
147
-
<md-list-item>
148
-
<h3md-line> Some heading </h3>
149
-
<template[ngIf]="showLine">
150
-
<pmd-line> Some text </p>
151
-
</template>
152
-
</md-list-item>
153
-
```
138
+
specifically. Gray text in the examples above comes from a "demo-2" class added manually by the demo.
0 commit comments