跳到主要内容
版本:v8

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 &lt;Ionic&gt;

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 &lt;Ionic&gt;

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

该组件没有可用的插槽。