跳到主要内容
版本:v7

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 &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

事件

该组件没有可用的事件。

方法

该组件没有可用的公共方法。

CSS 阴影部分

该组件没有可用的 CSS 阴影部分。

CSS 自定义属性

该组件没有可用的 CSS 自定义属性。

插槽

该组件没有可用的插槽。