File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ var options = {
141141 lockY: Boolean , // only move on the Y axis
142142 catchDistance: Number , // distance to recycle previous joystick in
143143 // 'semi' mode
144- dynamic_page : Boolean , // Enable if the page has dynamically visible elements
144+ dynamicPage : Boolean , // Enable if the page has dynamically visible elements
145145};
146146```
147147
@@ -253,7 +253,7 @@ Locks joystick's movement to the x (horizontal) axis
253253### ` options.lockY ` defaults to false
254254Locks joystick's movement to the y (vertical) axis
255255
256- ### ` options.dynamic_page ` defaults to true
256+ ### ` options.dynamicPage ` defaults to true
257257Enable if the page has dynamically visible elements such as for Vue, React, Angular or simply some CSS hiding or showing some DOM.
258258
259259----
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function Collection (manager, options) {
3434 restOpacity : 0.5 ,
3535 lockX : false ,
3636 lockY : false ,
37- dynamic_page : false
37+ dynamicPage : false
3838 } ;
3939
4040 self . config ( options ) ;
@@ -378,7 +378,7 @@ Collection.prototype.processOnMove = function (evt) {
378378 return ;
379379 }
380380
381- if ( opts . dynamic_page ) {
381+ if ( opts . dynamicPage ) {
382382 var scroll = u . getScroll ( ) ;
383383 pos = nipple . el . getBoundingClientRect ( ) ;
384384 nipple . position = {
You can’t perform that action at this time.
0 commit comments