跳到主要内容
版本:v6

ion-infinite-scroll-content

ion-infinite-scroll-content 组件是 ion-infinite-scroll 使用的默认子组件。它显示一个无限滚动旋转器,根据平台显示最佳外观,并根据无限滚动的状态更改外观。可以通过设置 loadingSpinnerloadingText 属性来更改默认旋转器和添加文本。

更多信息及用法请参阅无限滚动文档

属性

loadingSpinner

说明An animated SVG spinner that shows while loading.
属性loading-spinner
类型"bubbles" | "circles" | "circular" | "crescent" | "dots" | "lines" | "lines-sharp" | "lines-sharp-small" | "lines-small" | null | undefined
默认值undefined

loadingText

说明Optional text to display while loading. loadingText 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

This property accepts custom HTML as a string. Content is parsed as plaintext by default. innerHTMLTemplatesEnabled must be set to true in the Ionic config before custom HTML can be used.
属性loading-text
类型IonicSafeString | string | undefined
默认值undefined

事件

该组件没有可用的事件。

方法

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

CSS 阴影部分

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

CSS 自定义属性

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

插槽

该组件没有可用的插槽。