ion-refresher-content
刷新器内容包含在下拉刷新期间显示的文本、图标和旋转器。Ionic 会根据平台显示拉动图标和刷新旋转器。不过,默认的图标、旋转器和文本可以根据刷新器的状态进行自定义。
有关使用示例,请参阅 Refresher 文档。
属性
pullingIcon
| Description | 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. |
| Attribute | pulling-icon |
| Type | null | string | undefined |
| Default | undefined |
pullingText
| Description | 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. |
| Attribute | pulling-text |
| Type | IonicSafeString | string | undefined |
| Default | undefined |
refreshingSpinner
| Description | An animated SVG spinner that shows when refreshing begins |
| Attribute | refreshing-spinner |
| Type | "bubbles" | "circles" | "circular" | "crescent" | "dots" | "lines" | "lines-sharp" | "lines-sharp-small" | "lines-small" | null | undefined |
| Default | undefined |
refreshingText
| Description | 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. |
| Attribute | refreshing-text |
| Type | IonicSafeString | string | undefined |
| Default | undefined |
事件
No events available for this component.
方法
No public methods available for this component.
CSS Shadow Parts
No CSS shadow parts available for this component.
CSS 自定义属性
No CSS custom properties available for this component.
插槽
No slots available for this component.