mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
update content to ng-content
This commit is contained in:
@ -29,7 +29,7 @@ import {dom} from 'ionic/util';
|
||||
}
|
||||
})
|
||||
@View({
|
||||
template: '<div class="ion-segment"><content></content></div>',
|
||||
template: '<div class="ion-segment"><ng-content></ng-content></div>',
|
||||
directives: [forwardRef(() => SegmentButton)]
|
||||
})
|
||||
export class Segment extends Ion {
|
||||
|
Reference in New Issue
Block a user