mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
update content to ng-content
This commit is contained in:
@ -30,7 +30,7 @@ import * as util from 'ionic/util';
|
||||
]
|
||||
})
|
||||
@View({
|
||||
template: '<div class="slides-view"><content></content></div>'
|
||||
template: '<div class="slides-view"><ng-content></ng-content></div>'
|
||||
})
|
||||
export class Slides {
|
||||
constructor(elementRef: ElementRef) {
|
||||
|
Reference in New Issue
Block a user