md segment wip

This commit is contained in:
Adam Bradley
2015-12-07 16:45:24 -06:00
parent 53356f6b08
commit 3143091d63
4 changed files with 59 additions and 65 deletions

View File

@ -177,7 +177,7 @@ export class Segment extends Ion {
],
host: {
'(click)': 'click($event)',
'[class.segment-activated]': 'isActive',
'[class.segment-activated]': 'isActive'
}
})
export class SegmentButton {
@ -189,8 +189,8 @@ export class SegmentButton {
) {
this.segment = segment;
renderer.setElementAttribute(elementRef, 'button', '');
renderer.setElementAttribute(elementRef, 'outline', '');
renderer.setElementClass(elementRef, 'segment-button', true);
renderer.setElementAttribute(elementRef, 'tappable', '');
}
/**