mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
refactor(all): additional tslint rules
This commit is contained in:
@ -73,9 +73,10 @@ export class SegmentButton {
|
||||
aria-pressed={this.checked ? 'true' : null}
|
||||
class="segment-button-native"
|
||||
disabled={this.disabled}
|
||||
onClick={() => this.checked = true }>
|
||||
<slot></slot>
|
||||
{ this.mode === 'md' && <ion-ripple-effect /> }
|
||||
onClick={() => this.checked = true}
|
||||
>
|
||||
<slot></slot>
|
||||
{this.mode === 'md' && <ion-ripple-effect />}
|
||||
</button>
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user