ion-refresher-content
Ionic4项目中我们可以使用Ionic4下拉分页组件ion-refresher-content对项目进行布局。 ion-refresher-content官方文档地址:https://ionicframework.com/docs/api/refresher-contentThe refresher content contains the text, icon and spinner to display during a pull-to-refresh. Ionic provides the pulling icon and refreshing spinner based on the platform. However, the default icon, spinner, and text can be customized based on the state of the refresher.
ion-refresher-content 属性(Properties)
pullingIcon | |
---|---|
Description | A static icon to display when you begin to pull down |
Attribute | pulling-icon |
Type | null | string | undefined |
pullingText | |
Description | The text you want to display when you begin to pull down.
For more information: Security Documentation |
Attribute | pulling-text |
Type | string | undefined |
refreshingSpinner | |
Description | An animated SVG spinner that shows when refreshing begins |
Attribute | refreshing-spinner |
Type | "bubbles" | "circles" | "crescent" | "dots" | "lines" | "lines-small" | null | undefined |
refreshingText | |
Description | The text you want to display when performing a refresh.
For more information: Security Documentation |
Attribute | refreshing-text |
Type | string | undefined |