Skip to content

Commit

Permalink
feat(list): rename mdcListDivider property hasInset to inset
Browse files Browse the repository at this point in the history
BREAKING CHANGE: rename mdcListDivider property hasInset to inset
  • Loading branch information
gjdev committed May 22, 2018
1 parent 036c04f commit cb11ce7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bundle/src/components/list/mdc.list.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ export class MdcListDividerDirective {
* an inset.
*/
@Input() @HostBinding('class.mdc-list-divider--inset')
get hasInset() {
get inset() {
return this._inset;
}

set hasInset(val: any) {
set inset(val: any) {
this._inset = asBoolean(val);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3 mdcListGroupSubHeader>Connectivity</h3>
Data Usage
<a *ngIf="endDetail" href="javascript:void(0)" mdcListItemMeta class="material-icons">show_chart</a>
</li>
<li mdcListDivider [hasInset]="startDetail"></li>
<li mdcListDivider [inset]="startDetail"></li>
</ul>
<h3 mdcListGroupSubHeader>Folders</h3>
<ul mdcList [avatarList]="avatar" [dense]="dense">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h3 mdcListGroupSubHeader>Connectivity</h3>
</span>
<a *ngIf="endDetail" href="javascript:void(0)" mdcListItemMeta class="material-icons">show_chart</a>
</li>
<li mdcListDivider [hasInset]="startDetail"></li>
<li mdcListDivider [inset]="startDetail"></li>
</ul>
<h3 mdcListGroupSubHeader>Folders</h3>
<ul mdcList [avatarList]="avatar" [dense]="dense">
Expand Down

0 comments on commit cb11ce7

Please sign in to comment.