I want to open the expansion panel in vertical mode (i.e it slide to either right or left).
I followed the basic tutorial as described on the angular material site here
Here is the code for the same.
HTML
<md-expansion-panel>
<md-expansion-panel-header>
<md-panel-title>
Personal data
</md-panel-title>
<md-panel-description>
Type your name and age
</md-panel-description>
</md-expansion-panel-header>
<md-form-field>
<input mdInput placeholder="First name">
</md-form-field>
<md-form-field>
<input mdInput placeholder="Age">
</md-form-field>
</md-expansion-panel>
Typescript code for teh same is
import {Component} from '@angular/core';
@Component({
selector: 'expansion-overview-example',
templateUrl: 'expansion-overview-example.html',
})
export class ExpansionOverviewExample {}
Do anyone have an idea how to open the above expansion panel vertically.