mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
fix(segment): md has ripple-effect
This commit is contained in:
@ -98,6 +98,7 @@ export class SegmentButton {
|
||||
href={this.href}
|
||||
onClick={this.segmentButtonClick.bind(this)}>
|
||||
<slot></slot>
|
||||
{ this.mode === 'md' && <ion-ripple-effect/> }
|
||||
</TagType>
|
||||
];
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ export class Tab {
|
||||
/**
|
||||
* Emitted when the current tab is selected.
|
||||
*/
|
||||
@Event() ionSelect: EventEmitter<TabEventDetail>;
|
||||
@Event() ionSelect: EventEmitter<void>;
|
||||
|
||||
@Method()
|
||||
setActive(active: boolean): Promise<any> {
|
||||
@ -175,11 +175,3 @@ export class Tab {
|
||||
return Promise.resolve();
|
||||
}
|
||||
*/
|
||||
|
||||
export interface TabEvent extends CustomEvent {
|
||||
detail: TabEventDetail;
|
||||
}
|
||||
|
||||
export interface TabEventDetail {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user