Skip to content

Commit cb11ce7

Browse files
committed
feat(list): rename mdcListDivider property hasInset to inset
BREAKING CHANGE: rename mdcListDivider property hasInset to inset
1 parent 036c04f commit cb11ce7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bundle/src/components/list/mdc.list.directive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ export class MdcListDividerDirective {
3131
* an inset.
3232
*/
3333
@Input() @HostBinding('class.mdc-list-divider--inset')
34-
get hasInset() {
34+
get inset() {
3535
return this._inset;
3636
}
3737

38-
set hasInset(val: any) {
38+
set inset(val: any) {
3939
this._inset = asBoolean(val);
4040
}
4141

site/src/app/components/snippets/directives/snippet.list.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3 mdcListGroupSubHeader>Connectivity</h3>
1717
Data Usage
1818
<a *ngIf="endDetail" href="javascript:void(0)" mdcListItemMeta class="material-icons">show_chart</a>
1919
</li>
20-
<li mdcListDivider [hasInset]="startDetail"></li>
20+
<li mdcListDivider [inset]="startDetail"></li>
2121
</ul>
2222
<h3 mdcListGroupSubHeader>Folders</h3>
2323
<ul mdcList [avatarList]="avatar" [dense]="dense">

site/src/app/components/snippets/directives/snippet.list.twoline.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h3 mdcListGroupSubHeader>Connectivity</h3>
2626
</span>
2727
<a *ngIf="endDetail" href="javascript:void(0)" mdcListItemMeta class="material-icons">show_chart</a>
2828
</li>
29-
<li mdcListDivider [hasInset]="startDetail"></li>
29+
<li mdcListDivider [inset]="startDetail"></li>
3030
</ul>
3131
<h3 mdcListGroupSubHeader>Folders</h3>
3232
<ul mdcList [avatarList]="avatar" [dense]="dense">

0 commit comments

Comments
 (0)