ion-refresher-content
刷新器内容包含下拉刷新期间要显示的文本、图标和旋转器。Ionic 根据平台显示下拉图标和刷新旋转器。不过,默认图标、旋转器和文本可以根据刷新器的状态进行自定义。
有关用法示例,请参阅 Refresher 文档。
Properties
pullingIcon
| 说明 | A static icon or a spinner to display when you begin to pull down. A spinner name can be provided to gradually show tick marks when pulling down on iOS devices. |
| 属性 | pulling-icon |
| 类型 | null | string | undefined |
| 默认值 | undefined |
pullingText
| 说明 | The text you want to display when you begin to pull down. pullingText can accept either plaintext or HTML as a string. To display characters normally reserved for HTML, they must be escaped. For example <Ionic> would become <Ionic>For more information: Security Documentation Content is parsed as plaintext by default. innerHTMLTemplatesEnabled must be set to true in the Ionic config before custom HTML can be used. |
| 属性 | pulling-text |
| 类型 | IonicSafeString | string | undefined |
| 默认值 | undefined |
refreshingSpinner
| 说明 | An animated SVG spinner that shows when refreshing begins |
| 属性 | refreshing-spinner |
| 类型 | "bubbles" | "circles" | "circular" | "crescent" | "dots" | "lines" | "lines-sharp" | "lines-sharp-small" | "lines-small" | null | undefined |
| 默认值 | undefined |
refreshingText
| 说明 | The text you want to display when performing a refresh. refreshingText can accept either plaintext or HTML as a string. To display characters normally reserved for HTML, they must be escaped. For example <Ionic> would become <Ionic>For more information: Security Documentation Content is parsed as plaintext by default. innerHTMLTemplatesEnabled must be set to true in the Ionic config before custom HTML can be used. |
| 属性 | refreshing-text |
| 类型 | IonicSafeString | string | undefined |
| 默认值 | undefined |
Events
该组件没有可用的事件。
Methods
该组件没有可用的公共 方法。
CSS Shadow Parts
该组件没有可用的 CSS 阴影部分。
CSS Custom Properties
该组件没有可用的 CSS 自定义属性。
Slots
该组件没有可用的插槽。