ion-refresher-content
刷新器内容包含下拉刷新期间显示的文本、图标和旋转器。Ionic 根据平台显示拉动图标和刷新旋转器。但是,默认的图标、旋转器和文本可以根据刷新器的状态进行自定义。
有关用法示例,请参阅刷新器(Refresher)文档。
属性
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 |
事件
该组件没有可用的事件。
方法
该组件没有可用的公共方法。
CSS 阴影部分
该组件没有可用的 CSS 阴影部分。
CSS 自定义属性
该组件没有可用的 CSS 自定义属性。
插槽
该组件没有可用的插槽。