mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
@ -161,6 +161,15 @@ export class Slides implements ComponentInterface {
|
||||
swiper.update();
|
||||
}
|
||||
|
||||
/**
|
||||
* Force swiper to update its height (when autoHeight enabled) for the duration equal to 'speed' parameter
|
||||
*/
|
||||
@Method()
|
||||
async updateAutoHeight(speed?: number) {
|
||||
const swiper = await this.getSwiper();
|
||||
swiper.updateAutoHeight(speed);
|
||||
}
|
||||
|
||||
/**
|
||||
* Transition to the specified slide.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user