fix(segment): fix disabled segment

This commit is contained in:
Manuel Mtz-Almeida
2017-03-29 20:28:25 +02:00
parent 84e84d3280
commit 156b982510
8 changed files with 39 additions and 32 deletions

View File

@ -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> {