docs(demos): actionsheet style and content

This commit is contained in:
Drew Rygh
2015-10-08 14:55:36 -05:00
parent 3559eb04fb
commit 52bcc24901
2 changed files with 15 additions and 4 deletions

View File

@ -20,7 +20,7 @@ export class ActionSheetPage {
{ text: 'Favorite', icon: 'ion-md-heart-outline'}
],
destructiveText: 'Delete',
titleText: 'Purchased',
titleText: 'Albums',
cancelText: 'Cancel',
cancel: function() {
console.log('Canceled');
@ -38,11 +38,12 @@ export class ActionSheetPage {
this.actionSheet.open(androidSheet || {
buttons: [
{ text: 'Share This' },
{ text: 'Move' }
{ text: 'Share'},
{ text: 'Play'},
{ text: 'Favorite'}
],
destructiveText: 'Delete',
titleText: 'You Opened Action Sheet',
titleText: 'Albums',
cancelText: 'Cancel',
cancel: function() {
console.log('Canceled');

View File

@ -83,3 +83,13 @@ scroll-content {
color: #31D55F;
}
.md .action-sheet-destructive {
border-top: 1px solid rgba(204, 204, 204, 0.32);
margin-top: 8px;
padding-top: 4px;
}
.md .action-sheet-cancel icon, .md .action-sheet-destructive icon {
color: #757575;
}