Skip to content

Commit

Permalink
- Updating localised docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarotrigo committed Jun 21, 2018
1 parent c17f7ac commit b26fc08
Show file tree
Hide file tree
Showing 13 changed files with 678 additions and 609 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -722,8 +722,6 @@ Some callbacks, such as `onLeave` will contain Object type of parameters contain
- `anchor`: *(String)* item's anchor.
- `index`: *(Number)* item's index.
- `item`: *(DOM element)* item element.
- `isSlide`: *(Boolean)* determines if the item is a horizonta slide or not.
- `isSection`: *(Boolean)* determines if the item is a vertical section or not.
- `isFirst`: *(Boolean)* determines if the item is the first child.
- `isLast`: *(Boolean)* determines if the item is the last child.

Expand Down Expand Up @@ -939,7 +937,7 @@ Want to build fullpage.js distribution files? Please see [Build Tasks](https://g
- [Wordpress theme](https://alvarotrigo.com/fullPage/utils/wordpress.html)
- [Vue.js wrapper component](https://github.com/alvarotrigo/vue-fullpage.js)
- [CSS Easing Animation Tool - Matthew Lein](http://matthewlein.com/ceaser/) (useful to define the `easingcss3` value)
- [fullPage.js jsDelivr CDN](http://www.jsdelivr.com/#!jquery.fullpage)
- [fullPage.js jsDelivr CDN](https://www.jsdelivr.com/package/npm/fullpage.js)
- [fullPage.js plugin for October CMS](http://octobercms.com/plugin/freestream-parallax)
- [fullPage.js wordpress plugin](https://wordpress.org/plugins/wp-fullpage/)
- [fullPage.js Angular2 directive](https://github.com/meiblorn/ng2-fullpage)
Expand Down
468 changes: 247 additions & 221 deletions lang/chinese/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lang/chinese/how-to-activate-fullpage-extension.md
Expand Up @@ -8,7 +8,7 @@
例如:

```javascript
$('#fullpage').fullPage({
var myFullpage = new fullpage('#fullpage', {
fadingEffect: true,
fadingEffectKey: '激活密钥应在这里',
});
Expand Down
8 changes: 4 additions & 4 deletions lang/chinese/parallax-extensionmd.md
Expand Up @@ -86,21 +86,21 @@
为给定选项设一个值。`optionName` 可以是`parallaxOptions`中的任意选项 (`type`, `percentage``property`).
```javascript
//改变属性`type`的值
$.fn.fullpage.parallax.setOption('type', 'cover');
fullpage_api.parallax.setOption('type', 'cover');

//改变属性`percentage`的值
$.fn.fullpage.parallax.setOption('percentage', '30');
fullpage_api.parallax.setOption('percentage', '30');
```
---

### init()
启用视差效果。如果您需要在某个特定时间点动态启用该功能,可以调用这个方法。
```javascript
$.fn.fullpage.parallax.init();
fullpage_api.parallax.init();
```
---
### destroy()
关闭视差效果。
```javascript
$.fn.fullpage.parallax.destroy();
fullpage_api.parallax.destroy();
```
338 changes: 177 additions & 161 deletions lang/korean/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lang/korean/how-to-activate-fullpage-extension.md
Expand Up @@ -8,7 +8,7 @@
예시:

```javascript
$('#fullpage').fullPage({
var myFullpage = new fullpage('#fullpage', {
fadingEffect: true,
fadingEffectKey: '활성화 키가 여기에 위치해야 합니다',
});
Expand Down
8 changes: 4 additions & 4 deletions lang/korean/parallax-extension.md
Expand Up @@ -87,23 +87,23 @@ CSS나 인라인 스타일을 쓰실 수 있습니다.
주어진 옵션의 값을 설정합니다. `옵션이름``옵션이름` 에서 쓸 수 있는 어느 옵션이든 가능합니다. (`type`, `percentage` 또는 `property`).
```javascript
//`종류` 속성값 바꾸기
$.fn.fullpage.parallax.setOption('type', 'cover');
fullpage_api.parallax.setOption('type', 'cover');

//`퍼센트` 속성값 바꾸기
$.fn.fullpage.parallax.setOption('percentage', '30');
fullpage_api.parallax.setOption('percentage', '30');
```
---

### init()
패럴랙스 효과를 활성화합니다. 패럴랙스 효과를 특정 지점에서 역동적으로 활성화해야 할 때 유용합니다.
```javascript
$.fn.fullpage.parallax.init();
fullpage_api.parallax.init();
```
---
### destroy()
패럴랙스 효과를 끕니다.
```javascript
$.fn.fullpage.parallax.destroy();
fullpage_api.parallax.destroy();
```


Binary file modified lang/russian/README.md
Binary file not shown.
2 changes: 1 addition & 1 deletion lang/russian/how-to-activate-fullpage-extension.md
Expand Up @@ -8,7 +8,7 @@
Например:

```javascript
$('#fullpage').fullPage({
var myFullpage = new fullpage('#fullpage', {
fadingEffect: true,
fadingEffectKey: 'ЗДЕСЬ ДОЛЖЕН БЫТЬ КЛЮЧ АКТИВАЦИИ',
});
Expand Down
8 changes: 4 additions & 4 deletions lang/russian/parallax-extension.md
Expand Up @@ -87,21 +87,21 @@
Устанавливает значение для данной опции. `optionName` может быть любой из опций, доступных в `parallaxOptions`. (`type`, `percentage` или `property`).
```javascript
//изменение значения для свойства `type`
$.fn.fullpage.parallax.setOption('type', 'cover');
fullpage_api.parallax.setOption('type', 'cover');

//изменение значения для свойства `percentage`
$.fn.fullpage.parallax.setOption('percentage', '30');
fullpage_api.parallax.setOption('percentage', '30');
```
---

### init()
Активирует эффект параллакс. Функция полезна, если вам необходимо активировать эффект в динамическом режиме в определённый момент.
```javascript
$.fn.fullpage.parallax.init();
fullpage_api.parallax.init();
```
---
### destroy()
Отключает эффект параллакс.
```javascript
$.fn.fullpage.parallax.destroy();
fullpage_api.parallax.destroy();
```

0 comments on commit b26fc08

Please sign in to comment.