mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
md segment wip
This commit is contained in:
@ -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', '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user