Skip to content

Commit

Permalink
docs: update drawer demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Dec 9, 2018
1 parent 6683679 commit 7c8b5c5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,20 @@ <h6 lyTyp="title">Title</h6>
width="170px 0@XSmall"
[hasBackdrop]="hasBackdrop"
bg="background:primary"
[withClass]="classes.drawerContent">
<ly-radio-group [(ngModel)]="mode">
<label lyTyp="subheading" gutterBottom>Mode:</label>
<ly-radio value="over">Over</ly-radio>
<ly-radio value="side">Side</ly-radio>
</ly-radio-group>
<ly-radio-group [(ngModel)]="hasBackdrop">
<label lyTyp="subheading" gutter>Has backdrop:</label>
<ly-radio>Unset</ly-radio>
<ly-radio [value]="true">True</ly-radio>
<ly-radio [value]="false">False</ly-radio>
</ly-radio-group>
>
<div [className]="classes.drawerContent">
<ly-radio-group [(ngModel)]="mode">
<label lyTyp="subheading" gutterBottom>Mode:</label>
<ly-radio value="over">Over</ly-radio>
<ly-radio value="side">Side</ly-radio>
</ly-radio-group>
<ly-radio-group [(ngModel)]="hasBackdrop">
<label lyTyp="subheading" gutter>Has backdrop:</label>
<ly-radio>Unset</ly-radio>
<ly-radio [value]="true">True</ly-radio>
<ly-radio [value]="false">False</ly-radio>
</ly-radio-group>
</div>
<button ly-button (click)="drawer01.toggle()">Close</button>
</ly-drawer>
<ly-drawer-content [withClass]="classes.drawerContent">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { LyTheme2 } from '@alyle/ui';

const styles = {
drawerContainer: {
height: '240px',
height: '270px',
transform: 'translate3d(0,0,0)'
},
drawerContent: {
Expand Down

0 comments on commit 7c8b5c5

Please sign in to comment.