mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(segment): fix disabled segment
This commit is contained in:
@ -62,7 +62,10 @@ import { SegmentButton } from './segment-button';
|
||||
* @see [Angular 2 Forms](http://learnangular2.com/forms/)
|
||||
*/
|
||||
@Directive({
|
||||
selector: 'ion-segment'
|
||||
selector: 'ion-segment',
|
||||
host: {
|
||||
'[class.segment-disabled]': '_disabled'
|
||||
}
|
||||
})
|
||||
export class Segment extends BaseInput<string> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user