File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,14 @@ Sets the value for the option `fitToSection` determining whether to fit the sect
545
545
$ .fn .fullpage .setFitToSection (false );
546
546
```
547
547
---
548
+ ### fitToSection()
549
+ [ Demo] ( http://codepen.io/alvarotrigo/pen/JWWagj )
550
+ Scrolls to the nearest active section fitting it in the viewport.
551
+
552
+ ``` javascript
553
+ $ .fn .fullpage .fitToSection ();
554
+ ```
555
+ ---
548
556
### setLockAnchors(boolean)
549
557
[ Demo] ( http://codepen.io/alvarotrigo/pen/yNxVRQ )
550
558
Sets the value for the option ` lockAnchors ` determining whether anchors will have any effect in the URL or not.
Original file line number Diff line number Diff line change @@ -532,12 +532,20 @@ $.fn.fullpage.setAutoScrolling(false);
532
532
---
533
533
### setFitToSection(boolean)
534
534
[ demostración] ( http://codepen.io/alvarotrigo/pen/GJXNYm )
535
- Sets the value for the option ` fitToSection ` determining whether to fit the section in the screen or not .
535
+ Determina el valor para la opción ` fitToSection ` definiendo si ajustar la sección más cercana a la pantalla o no .
536
536
537
537
``` javascript
538
538
$ .fn .fullpage .setFitToSection (false );
539
539
```
540
540
---
541
+ ### fitToSection()
542
+ [ demostración] ( http://codepen.io/alvarotrigo/pen/JWWagj )
543
+ Desplaza la página hacia la sección activa más cercana encajándola en la pantalla.
544
+
545
+ ``` javascript
546
+ $ .fn .fullpage .fitToSection ();
547
+ ```
548
+ ---
541
549
### setLockAnchors(boolean)
542
550
[ demostración] ( http://codepen.io/alvarotrigo/pen/yNxVRQ )
543
551
Define el valor para la opción ` lockAnchors ` determinando si los links de anclaje tendrán algún efecto en la URL o no.
You can’t perform that action at this time.
0 commit comments