You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to reset the direction of menu to another type?
at the beginning:
$("#circleR").circleMenu({
circle_radius : 85,
item_diameter : 40,
direction : 'left-half',
trigger : 'click',
open : function() {
console.log('menu opened');
},
close : function() {
console.log('menu closed');
},
init : function() {
console.log('menu initialized');
},
select : function(evt, index) {
console.log(evt, index);
}
}).on('circleMenu-open', function() {
console.log('menu opened 2');
});
after this, in some event I would like to change the direction to 'bottom-right' like this but it fail to change it:
how to reset the direction of menu to another type?
at the beginning:
$("#circleR").circleMenu({
circle_radius : 85,
item_diameter : 40,
direction : 'left-half',
trigger : 'click',
open : function() {
console.log('menu opened');
},
close : function() {
console.log('menu closed');
},
init : function() {
console.log('menu initialized');
},
select : function(evt, index) {
console.log(evt, index);
}
}).on('circleMenu-open', function() {
console.log('menu opened 2');
});
after this, in some event I would like to change the direction to 'bottom-right' like this but it fail to change it:
$("#circleR").circleMenu({
circle_radius : 85,
item_diameter : 40,
direction : 'bottom-right',
trigger : 'click',
open : function() {
console.log('menu opened');
},
close : function() {
console.log('menu closed');
},
init : function() {
console.log('menu initialized');
},
select : function(evt, index) {
console.log(evt, index);
}
}).on('circleMenu-open', function() {
console.log('menu opened 2');
});
The text was updated successfully, but these errors were encountered: