Skip to content

Commit

Permalink
feat(select): add optional css class prop to md-list
Browse files Browse the repository at this point in the history
  • Loading branch information
daanishnasir authored and pauljeter committed Jul 5, 2019
1 parent 204bed1 commit 6605a92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions angular/src/lib/select/select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export class SelectChange {
<md-list
#panel
role='listbox'
tabType="vertical"
[ngClass]="listClass"
>
<ng-content></ng-content>
</md-list>
Expand All @@ -99,6 +101,8 @@ export class SelectComponent implements OnInit, AfterContentChecked, AfterConten
public overlayOpen = false;
public anchorWidth = null;

/** @prop Optional CSS class name to md-list | '' */
@Input() public listClass = '';
/** @prop Optional CSS button class name | '' */
@Input() public buttonClass = '';
/** @prop Set the default selected option | '' */
Expand Down

0 comments on commit 6605a92

Please sign in to comment.