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}
|
href={this.href}
|
||||||
onClick={this.segmentButtonClick.bind(this)}>
|
onClick={this.segmentButtonClick.bind(this)}>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
|
{ this.mode === 'md' && <ion-ripple-effect/> }
|
||||||
</TagType>
|
</TagType>
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ export class Tab {
|
|||||||
/**
|
/**
|
||||||
* Emitted when the current tab is selected.
|
* Emitted when the current tab is selected.
|
||||||
*/
|
*/
|
||||||
@Event() ionSelect: EventEmitter<TabEventDetail>;
|
@Event() ionSelect: EventEmitter<void>;
|
||||||
|
|
||||||
@Method()
|
@Method()
|
||||||
setActive(active: boolean): Promise<any> {
|
setActive(active: boolean): Promise<any> {
|
||||||
@ -175,11 +175,3 @@ export class Tab {
|
|||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export interface TabEvent extends CustomEvent {
|
|
||||||
detail: TabEventDetail;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface TabEventDetail {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user