Skip to content

Commit

Permalink
InfiniteScroll: Update naming & doc (ElemeFE#16698)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun authored and a631807682 committed Aug 1, 2019
1 parent 0410dfc commit c2d6086
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/demo-styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
@import "./upload.scss";
@import "./divider.scss";
@import "./image.scss";
@import "./infiniteScroll.scss";
@import "./infinite-scroll.scss";
@import "./avatar.scss";

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
padding: 0;
margin: 0;
list-style: none;
overflow: auto;

.infinite-list-item {
display: flex;
Expand All @@ -21,7 +20,6 @@

.infinite-list-wrapper {
height: 300px;
overflow: auto;
text-align: center;

.list{
Expand Down
4 changes: 2 additions & 2 deletions examples/docs/en-US/infiniteScroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Add `v-infinite-scroll` to the list to automatically execute loading method when
:::demo
```html
<template>
<ul class="infinite-list" v-infinite-scroll="load">
<ul class="infinite-list" v-infinite-scroll="load" style="overflow:auto">
<li v-for="i in count" class="infinite-list-item">{{ i }}</li>
</ul>
</template>
Expand All @@ -34,7 +34,7 @@ Add `v-infinite-scroll` to the list to automatically execute loading method when
:::demo
```html
<template>
<div class="infinite-list-wrapper">
<div class="infinite-list-wrapper" style="overflow:auto">
<ul
class="list"
v-infinite-scroll="load"
Expand Down
4 changes: 2 additions & 2 deletions examples/docs/es/infiniteScroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Añada `v-infinite-scroll` a la lista para ejecutar automáticamente el método

```html
<template>
<ul class="infinite-list" v-infinite-scroll="load">
<ul class="infinite-list" v-infinite-scroll="load" style="overflow:auto">
<li v-for="i in count" class="infinite-list-item">{{ i }}</li>
</ul>
</template>
Expand All @@ -35,7 +35,7 @@ Añada `v-infinite-scroll` a la lista para ejecutar automáticamente el método
:::demo
```html
<template>
<div class="infinite-list-wrapper">
<div class="infinite-list-wrapper" style="overflow:auto">
<ul
class="list"
v-infinite-scroll="load"
Expand Down
4 changes: 2 additions & 2 deletions examples/docs/fr-FR/infiniteScroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Ajoutez `v-infinite-scroll` à la liste pour exécuter automatiquement la métho
:::demo
```html
<template>
<ul class="infinite-list" v-infinite-scroll="load">
<ul class="infinite-list" v-infinite-scroll="load" style="overflow:auto">
<li v-for="i in count" class="infinite-list-item">{{ i }}</li>
</ul>
</template>
Expand All @@ -34,7 +34,7 @@ Ajoutez `v-infinite-scroll` à la liste pour exécuter automatiquement la métho
:::demo
```html
<template>
<div class="infinite-list-wrapper">
<div class="infinite-list-wrapper" style="overflow:auto">
<ul
class="list"
v-infinite-scroll="load"
Expand Down
4 changes: 2 additions & 2 deletions examples/docs/zh-CN/infiniteScroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:::demo
```html
<template>
<ul class="infinite-list" v-infinite-scroll="load">
<ul class="infinite-list" v-infinite-scroll="load" style="overflow:auto">
<li v-for="i in count" class="infinite-list-item">{{ i }}</li>
</ul>
</template>
Expand All @@ -34,7 +34,7 @@
:::demo
```html
<template>
<div class="infinite-list-wrapper">
<div class="infinite-list-wrapper" style="overflow:auto">
<ul
class="list"
v-infinite-scroll="load"
Expand Down
2 changes: 1 addition & 1 deletion types/element-ui.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import { ElIcon } from './icon'
import { ElCalendar } from './calendar'
import { ElImage } from './image'
import { ElBacktop } from './backtop'
import { ElInfiniteScroll } from './infiniteScroll'
import { ElInfiniteScroll } from './infinite-scroll'
import { ElPageHeader } from './page-header'
import { ElAvatar } from './avatar'

Expand Down
File renamed without changes.

0 comments on commit c2d6086

Please sign in to comment.