ScrollToTop in Ionic 4

How do you use scrollToTop in Ionic 4 now as importing ‘content’ is no longer there?

import {Content} from "@ionic/angular";

@ionic/angular/dist/core"’ has no exported member ‘Content’.

Ionic Framework : @ionic/angular 4.0.0-rc.2

It is just ‘Ion’ appended to the beginning
{ IonContent }

changelog

Great - many thanks!

1 Like